add todo scaling for portrait mode on deck image view for deck colors

This commit is contained in:
Anthony Calosa
2020-10-11 19:28:12 +08:00
parent 688fad9023
commit 6fd5c35b1c

View File

@@ -1006,7 +1006,7 @@ public class ImageView<T extends InventoryItem> extends ItemView<T> {
//generic box
g.drawImage(FSkin.getDeckbox().get(2),x, y, w, h);
}
if (deckColor != null) {
if (deckColor != null && Forge.isLandscapeMode()) { //todo scale mana icons for decks on portrait mode
//deck color identity
float symbolSize = IMAGE_SIZE;
if (columnCount == 4)