mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Bugfix: Hover effect on computer hand button disabled outside of devmode.
This commit is contained in:
@@ -166,17 +166,17 @@ public class ControlField {
|
|||||||
this.view.getLblLibrary().enableHover();
|
this.view.getLblLibrary().enableHover();
|
||||||
this.view.getLblLibrary().removeMouseListener(maLibrary);
|
this.view.getLblLibrary().removeMouseListener(maLibrary);
|
||||||
this.view.getLblLibrary().addMouseListener(maLibrary);
|
this.view.getLblLibrary().addMouseListener(maLibrary);
|
||||||
|
|
||||||
|
// Hand button
|
||||||
|
this.view.getLblHand().enableHover();
|
||||||
|
this.view.getLblHand().removeMouseListener(maHand);
|
||||||
|
this.view.getLblHand().addMouseListener(maHand);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Flashback card list button
|
// Flashback card list button
|
||||||
this.view.getLblFlashback().enableHover();
|
this.view.getLblFlashback().enableHover();
|
||||||
this.view.getLblFlashback().removeMouseListener(maFlashback);
|
this.view.getLblFlashback().removeMouseListener(maFlashback);
|
||||||
this.view.getLblFlashback().addMouseListener(maFlashback);
|
this.view.getLblFlashback().addMouseListener(maFlashback);
|
||||||
|
|
||||||
// Hand button
|
|
||||||
this.view.getLblHand().enableHover();
|
|
||||||
this.view.getLblHand().removeMouseListener(maHand);
|
|
||||||
this.view.getLblHand().addMouseListener(maHand);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user