v1.2.0: added a rotated display icon for landscape

This commit is contained in:
Evan Debenham 2022-02-15 15:51:28 -05:00
parent c354dd3004
commit e9f618c5a8
2 changed files with 5 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -135,7 +135,11 @@ public enum Icons {
icon.frame( icon.texture.uvRect( 16, 16, 27, 27 ) );
break;
case DISPLAY:
if (PixelScene.landscape()){
icon.frame( icon.texture.uvRect( 80, 48, 96, 61 ) );
} else {
icon.frame( icon.texture.uvRect( 32, 16, 45, 32 ) );
}
break;
case DATA:
icon.frame( icon.texture.uvRect( 48, 16, 64, 31 ) );