aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java
diff options
context:
space:
mode:
authorsyeyoung <cyougn06@naver.com>2022-01-11 23:32:49 +0900
committersyeyoung <cyougn06@naver.com>2022-01-11 23:32:49 +0900
commit97ad0ab478e7ab75ab8e78c9235961d2f2df6553 (patch)
tree5ac82967253179b90847932b34aa4427db12ac51 /src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java
parentf8ad945e1f078d904fd839ccc7f07ee17eec5203 (diff)
downloadSkyblock-Dungeons-Guide-97ad0ab478e7ab75ab8e78c9235961d2f2df6553.tar.gz
Skyblock-Dungeons-Guide-97ad0ab478e7ab75ab8e78c9235961d2f2df6553.tar.bz2
Skyblock-Dungeons-Guide-97ad0ab478e7ab75ab8e78c9235961d2f2df6553.zip
- Fix Keys repeating and re-implement key repeat mechanics using Keyboard.enableRepeatEvents
(this breaks with current latest version of neu, but it should be fixed in neu's side)
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java
index 8ed0e028..6f791bcf 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java
@@ -177,15 +177,15 @@ public class MParameterEdit extends MPanel {
}
@Override
- public void keyHeld0(char typedChar, int keyCode, long heldMS) {
+ public void keyHeld0(char typedChar, int keyCode) {
if (isDisabled.test(featureParameter)) return;
- super.keyHeld0(typedChar, keyCode, heldMS);
+ super.keyHeld0(typedChar, keyCode);
}
@Override
- public void keyReleased0(char typedChar, int keyCode, long heldMS) {
+ public void keyReleased0(char typedChar, int keyCode) {
if (isDisabled.test(featureParameter)) return;
- super.keyReleased0(typedChar, keyCode, heldMS);
+ super.keyReleased0(typedChar, keyCode);
}
@Override