decrease clutter
All checks were successful
/ Build & Publish (push) Successful in 39s

This commit is contained in:
Daniella / Tove 2024-06-25 10:26:25 +02:00
parent f9b3081d3e
commit bec8029ec4
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -145,13 +145,13 @@ public class CBWindow extends JFrame implements WindowListener {
if(item.callback != null) {
if (i == selected) {
g.setColor(new Color(justRanSomething.isLocked() ? 0xff88ff : 0xee00ee));
g.drawString("> " + item.name, justRanSomething.isLocked() ? 7 : 5, y += 2 + 15);
g.drawString("> " + item.name, justRanSomething.isLocked() ? 15 : 12, y += 2 + 15);
g.setColor(new Color(0xcc00cc));
continue;
}
g.drawString(item.name, 5, y += 2 + 15);
g.drawString(item.name, 12, y += 2 + 15);
} else {
g.drawString(item.name, 3, y += 2 + 15);
g.drawString(item.name, 6, y += 2 + 15);
}
}
}