[editor only] fix KeyboardListener not track changes

This commit is contained in:
fgnm
2024-05-07 10:43:56 +02:00
parent 96c89063fa
commit acb5dde2a9
@@ -72,7 +72,8 @@ public class KeyboardListener implements EventListener {
private void handleFocusListener(FocusListener.FocusEvent event) {
VisTextField field = (VisTextField) event.getTarget();
if(event.isFocused()) {
//it was a focus in event, which is no change
//it was a focus in event, which is no change, but needs to update lastValue to track changes
lastValue = field.getText();
return;
}