From 0a0475bd38842c9a982b40e44cee34b747ccbd99 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Sat, 18 Nov 2017 06:40:01 +0400 Subject: [PATCH] Battlefield text position fix --- Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java index b05a03ea26..230728563c 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanel.java @@ -91,7 +91,8 @@ public abstract class CardPanel extends MagePermanent implements MouseListener, 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 private JPopupMenu popupMenu;