Merging Source v1.7.2: UI changes
This commit is contained in:
@@ -47,7 +47,6 @@ public class ItemSlot extends Button {
|
||||
private static final String TXT_TYPICAL_STR = "%d?";
|
||||
|
||||
private static final String TXT_LEVEL = "%+d";
|
||||
private static final String TXT_CURSED = "";
|
||||
|
||||
// Special items for containers
|
||||
public static final Item CHEST = new Item() {
|
||||
@@ -164,7 +163,7 @@ public class ItemSlot extends Button {
|
||||
int level = item.visiblyUpgraded();
|
||||
|
||||
if (level != 0 || (item.cursed && item.cursedKnown)) {
|
||||
bottomRight.text( item.levelKnown ? Utils.format( TXT_LEVEL, level ) : TXT_CURSED );
|
||||
bottomRight.text( item.levelKnown ? Utils.format( TXT_LEVEL, level ) : "" );
|
||||
bottomRight.measure();
|
||||
bottomRight.hardlight( level > 0 ? UPGRADED : DEGRADED );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user