forked from External/mage
GUI: added preferences settings for card icons (enable abilities icons and playable icon);
This commit is contained in:
parent
a1da5ef437
commit
2fe2f05b60
4 changed files with 728 additions and 778 deletions
|
|
@ -138,7 +138,7 @@ public final class GUISizeHelper {
|
|||
|
||||
int otherZonesCardSize = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_GUI_CARD_OTHER_ZONES_SIZE, 14);
|
||||
otherZonesCardDimension = new Dimension(CARD_IMAGE_WIDTH * otherZonesCardSize / 42, CARD_IMAGE_HEIGHT * otherZonesCardSize / 42);
|
||||
if (PreferencesDialog.getCachedValue(PreferencesDialog.KEY_CARD_RENDERING_FALLBACK, "false").equals("false")) {
|
||||
if (PreferencesDialog.getRenderMode() == 0) {
|
||||
otherZonesCardVerticalOffset = CardRenderer.getCardTopHeight(otherZonesCardDimension.width);
|
||||
} else if (otherZonesCardSize > 29) {
|
||||
otherZonesCardVerticalOffset = otherZonesCardDimension.height / 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue