mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 17:34:43 -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();
|
||||
boolean nowClock = clock.getBool();
|
||||
|
||||
if (keyboardInterface != null && !nowClock && lastClock && enableVal)
|
||||
if (keyboardInterface != null && nowClock && !lastClock && enableVal)
|
||||
keyboardInterface.deleteFirstChar();
|
||||
|
||||
lastClock = nowClock;
|
||||
|
Loading…
x
Reference in New Issue
Block a user