mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-19 01:44:44 -04:00
fixed a timing issue in the keyboard
This commit is contained in:
parent
ef8add3ff9
commit
0a51558f00
@ -71,7 +71,7 @@ public class Keyboard extends Node implements Element {
|
|||||||
enableVal = enable.getBool();
|
enableVal = enable.getBool();
|
||||||
boolean nowClock = clock.getBool();
|
boolean nowClock = clock.getBool();
|
||||||
|
|
||||||
if (keyboardInterface != null && !nowClock && lastClock && enableVal)
|
if (keyboardInterface != null && nowClock && !lastClock && enableVal)
|
||||||
keyboardInterface.deleteFirstChar();
|
keyboardInterface.deleteFirstChar();
|
||||||
|
|
||||||
lastClock = nowClock;
|
lastClock = nowClock;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user