v1.2.0: fixed layout issues in loot indicator

This commit is contained in:
Evan Debenham 2022-01-18 18:59:54 -05:00
parent fb0e0da611
commit 0ffb6c9e15

View File

@ -67,8 +67,8 @@ public class LootIndicator extends Tag {
protected void layout() { protected void layout() {
super.layout(); super.layout();
if (!flipped) slot.setRect( x + 1, y, SIZE, height ); if (!flipped) slot.setRect( x+2, y+2, SIZE-3, height-4 );
else slot.setRect( x + (width() - SIZE) - 1, y, SIZE, height ); else slot.setRect( x+(width()-SIZE)+1, y+2, SIZE-3, height-4 );
} }