make highlighted option more visible
All checks were successful
/ Build & Publish (push) Successful in 46s
All checks were successful
/ Build & Publish (push) Successful in 46s
This commit is contained in:
parent
4382f24399
commit
6032a97ca2
1 changed files with 4 additions and 4 deletions
|
@ -142,13 +142,13 @@ public class CBWindow extends JFrame implements WindowListener {
|
|||
for (int i = 0; i < list.size(); i++) {
|
||||
CBCallbackContainer item = list.get(i);
|
||||
if(item.callback != null) {
|
||||
if (justRanSomething.isLocked() && i == selected) {
|
||||
g.setColor(new Color(0xee00ee));
|
||||
g.drawString("> " + item.name, 7, y += 2 + 15);
|
||||
if (i == selected) {
|
||||
g.setColor(new Color(justRanSomething.isLocked() ? 0xff88ff : 0xee00ee));
|
||||
g.drawString("> " + item.name, justRanSomething.isLocked() ? 7 : 5, y += 2 + 15);
|
||||
g.setColor(new Color(0xcc00cc));
|
||||
continue;
|
||||
}
|
||||
g.drawString((i == selected ? "> " : "") + item.name, 5, y += 2 + 15);
|
||||
g.drawString(item.name, 5, y += 2 + 15);
|
||||
} else {
|
||||
g.drawString(item.name, 3, y += 2 + 15);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue