mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
add todo scaling for portrait mode on deck image view for deck colors
This commit is contained in:
@@ -1006,7 +1006,7 @@ public class ImageView<T extends InventoryItem> extends ItemView<T> {
|
|||||||
//generic box
|
//generic box
|
||||||
g.drawImage(FSkin.getDeckbox().get(2),x, y, w, h);
|
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
|
//deck color identity
|
||||||
float symbolSize = IMAGE_SIZE;
|
float symbolSize = IMAGE_SIZE;
|
||||||
if (columnCount == 4)
|
if (columnCount == 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user