From 8e857e57ee06e08606bd6322f966c5c0f425f93b Mon Sep 17 00:00:00 2001 From: radimous Date: Tue, 24 Sep 2024 16:57:15 +0200 Subject: [PATCH] add ctrl + comma keybind to toggle lvl abilities combining (because why not) --- .../java/com/radimous/vhatcaniroll/GearModifierScreen.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/radimous/vhatcaniroll/GearModifierScreen.java b/src/main/java/com/radimous/vhatcaniroll/GearModifierScreen.java index fefed0a..2d787a5 100644 --- a/src/main/java/com/radimous/vhatcaniroll/GearModifierScreen.java +++ b/src/main/java/com/radimous/vhatcaniroll/GearModifierScreen.java @@ -293,6 +293,11 @@ public class GearModifierScreen extends AbstractElementScreen { if (keyCode == InputConstants.KEY_LALT || keyCode == InputConstants.KEY_RALT) { 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); } } \ No newline at end of file