few changes

This commit is contained in:
2025-06-27 15:02:13 -05:00
parent 3cacd42421
commit 9715630d9f
8 changed files with 78 additions and 34 deletions
+4 -1
View File
@@ -65,9 +65,12 @@ impl KeyPressEventHandler for Input {
events.dispatch(InputUpdateEvent(self.0.clone()));
}
}
_ => {}
_ => {
events.dispatch(InputKeyPress(self.0.clone(), *event));
}
}
}
}
event!(InputUpdateEvent(pub String));
event!(InputKeyPress(pub String, pub KeyEvent));