From f654982e3897dcd62a4d06f4a4fb98ecb10d497c Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Mon, 2 Mar 2020 12:30:02 +0800 Subject: [PATCH] Fix Card Reveal Animation for default display --- .../forge/screens/planarconquest/ConquestRewardDialog.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/forge-gui-mobile/src/forge/screens/planarconquest/ConquestRewardDialog.java b/forge-gui-mobile/src/forge/screens/planarconquest/ConquestRewardDialog.java index e5086c2138c..239baa355d3 100644 --- a/forge-gui-mobile/src/forge/screens/planarconquest/ConquestRewardDialog.java +++ b/forge-gui-mobile/src/forge/screens/planarconquest/ConquestRewardDialog.java @@ -244,10 +244,7 @@ public class ConquestRewardDialog extends FScrollPane { //ensure current card in view if (getScrollHeight() > getHeight() && index < cardCount) { CardRevealer currentCard = cardRevealers.get(index); - if (!Forge.extrawide.equals("default")) - scrollIntoView(currentCard, currentCard.getHeight() / (columnCount * PADDING) / 2); - else - scrollIntoView(currentCard, currentCard.getHeight() / 2 + PADDING); //show half of the card below + scrollIntoView(currentCard, currentCard.getHeight() / (columnCount * PADDING) / 2); } }