From 97ad0ab478e7ab75ab8e78c9235961d2f2df6553 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Tue, 11 Jan 2022 23:32:49 +0900 Subject: - 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) --- .../syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/MParameterEdit.java') 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 -- cgit