Color separation between pressed and not pressed
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
65e6ebc245
commit
a117fbdb2a
@ -38,7 +38,7 @@ public class ConfigureControls extends Object{
|
|||||||
StringBuilder sb = new StringBuilder(a.toString()).append(": ");
|
StringBuilder sb = new StringBuilder(a.toString()).append(": ");
|
||||||
boolean first=true;
|
boolean first=true;
|
||||||
for (KeyBind c : KeyBind.KEYBINDS.get(a)) {
|
for (KeyBind c : KeyBind.KEYBINDS.get(a)) {
|
||||||
sb.append(c.isKeyHeld()?PaletteColor.YELLOW_GREEN:PaletteColor.MIDNIGHT_BLUE).append(c.c.getName()).append(!first?",":"");
|
sb.append(c.isKeyHeld()?PaletteColor.YELLOW_GREEN:"").append(c.c.getName()).append(PaletteColor.MIDNIGHT_BLUE).append(!first?",":"");
|
||||||
sb.append("\n");
|
sb.append("\n");
|
||||||
}
|
}
|
||||||
return sb;
|
return sb;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user