add ctrl + comma keybind to toggle lvl abilities combining (because why not)

This commit is contained in:
radimous 2024-09-24 16:57:15 +02:00
parent f1ff16506a
commit 8e857e57ee

View file

@ -293,6 +293,11 @@ public class GearModifierScreen extends AbstractElementScreen {
if (keyCode == InputConstants.KEY_LALT || keyCode == InputConstants.KEY_RALT) { if (keyCode == InputConstants.KEY_LALT || keyCode == InputConstants.KEY_RALT) {
toggleLegend(); toggleLegend();
} }
// ctrl + , to toggle compact +lvl to abilities
if (keyCode == InputConstants.KEY_COMMA && hasControlDown()) {
Config.COMBINE_LVL_TO_ABILITIES.set(!Config.COMBINE_LVL_TO_ABILITIES.get());
updateModifierList(true);
}
return super.keyPressed(keyCode, scanCode, modifiers); return super.keyPressed(keyCode, scanCode, modifiers);
} }
} }