1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-17 15:38:52 +00:00

Fix HTML typing issue

This commit is contained in:
EliteMasterEric 2023-08-03 12:41:54 -04:00
parent 4468e2a5a5
commit 2f56c74060

View file

@ -181,7 +181,7 @@ class PreciseInputManager extends FlxKeyManager<FlxKey, PreciseInputList>
updateKeyStates(key, true); updateKeyStates(key, true);
if (getInputByKey(key) ?.justPressed ?? false) if (getInputByKey(key)?.justPressed ?? false)
{ {
onInputPressed.dispatch( onInputPressed.dispatch(
{ {
@ -203,7 +203,7 @@ class PreciseInputManager extends FlxKeyManager<FlxKey, PreciseInputList>
updateKeyStates(key, false); updateKeyStates(key, false);
if (getInputByKey(key) ?.justReleased ?? false) if (getInputByKey(key)?.justReleased ?? false)
{ {
onInputReleased.dispatch( onInputReleased.dispatch(
{ {
@ -264,7 +264,7 @@ class PreciseInputList extends FlxKeyList
{ {
for (key in getKeysForDir(noteDir)) for (key in getKeysForDir(noteDir))
{ {
if (check(_preciseInputManager.getInputByKey(key) ?.ID)) return true; if (check(_preciseInputManager.getInputByKey(key)?.ID)) return true;
} }
return false; return false;
} }