mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Battlefield text position fix
This commit is contained in:
parent
0689bfca40
commit
0a0475bd38
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ public abstract class CardPanel extends MagePermanent implements MouseListener,
|
||||||
|
|
||||||
private JPanel cardArea;
|
private JPanel cardArea;
|
||||||
|
|
||||||
private int yCardCaptionOffsetPercent = 0; // card caption offset (use for moving card caption view center, below mana icons -- for more good UI)
|
// default offset, e.g. for battlefield
|
||||||
|
private int yCardCaptionOffsetPercent = 8; // card caption offset (use for moving card caption view center, below mana icons -- for more good UI)
|
||||||
|
|
||||||
// if this is set, it's opened if the user right clicks on the card panel
|
// if this is set, it's opened if the user right clicks on the card panel
|
||||||
private JPopupMenu popupMenu;
|
private JPopupMenu popupMenu;
|
||||||
|
|
Loading…
Reference in a new issue