Color separation between pressed and not pressed

Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com>
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
Nic0Nic0Nii 3 years ago
parent 65e6ebc245
commit a117fbdb2a
  1. 2
      src/sig/objects/ConfigureControls.java

@ -38,7 +38,7 @@ public class ConfigureControls extends Object{
StringBuilder sb = new StringBuilder(a.toString()).append(": ");
boolean first=true;
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");
}
return sb;

Loading…
Cancel
Save