diff options
author | isxander <xander@isxander.dev> | 2024-05-27 15:19:43 +0100 |
---|---|---|
committer | isxander <xander@isxander.dev> | 2024-05-27 15:19:43 +0100 |
commit | 41fd559c4e8c4605b9c74d66f19c92fd561df5b3 (patch) | |
tree | 1c31c13c13a1d058381cbc5fbe8d58126cb87558 | |
parent | 20c7329c78cfb3d018c14c310022c8c3582c04f0 (diff) | |
download | YetAnotherConfigLib-41fd559c4e8c4605b9c74d66f19c92fd561df5b3.tar.gz YetAnotherConfigLib-41fd559c4e8c4605b9c74d66f19c92fd561df5b3.tar.bz2 YetAnotherConfigLib-41fd559c4e8c4605b9c74d66f19c92fd561df5b3.zip |
Fix 1.20.1 builds
-rw-r--r-- | src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java b/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java index 1cd173b..0b0d7f2 100644 --- a/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java +++ b/src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java @@ -168,11 +168,6 @@ public class OptionListWidget extends ElementListWidgetExt<OptionListWidget.Entr } @Override - protected boolean isValidClickButton(int button) { - return button == InputConstants.MOUSE_BUTTON_LEFT || button == InputConstants.MOUSE_BUTTON_RIGHT; - } - - @Override public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) { if (this.getFocused() != null && this.isDragging() && isValidClickButton(button)) { return this.getFocused().mouseDragged(mouseX, mouseY, button, deltaX, deltaY); |