From 75e372ac9b1f825fa4a3a80c11e9fb7dceec8b98 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Tue, 7 Feb 2017 17:00:37 +0800 Subject: [PATCH] adjust enstack attackers so we have small room for the phase wheel for touch enabled device --- projects/mtg/src/GuiPlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/GuiPlay.cpp b/projects/mtg/src/GuiPlay.cpp index fa6fab17c..5ba888869 100644 --- a/projects/mtg/src/GuiPlay.cpp +++ b/projects/mtg/src/GuiPlay.cpp @@ -124,7 +124,7 @@ void GuiPlay::BattleField::reset(float x, float y) void GuiPlay::BattleField::EnstackAttacker(CardView* card) { //card->x = CARD_WIDTH + 20 + (currentAttacker * (HORZWIDTH) / (attackers+1)); - card->x = x-4 + baseX; + card->x = x + (CARD_WIDTH/2.5f) + baseX; if (attackers+1 < 8) x += CARD_WIDTH; else if (attackers+1 < 24)