- MOAR TESTS

[[PR Description]]

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2023-12-11 16:42:03 -07:00 committed by GitHub
commit 149e90c3d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 2820 additions and 2809 deletions

View file

@ -1468,6 +1468,13 @@ impl<'a> WindowContext<'a> {
self.dispatch_keystroke_observers(event, None);
}
pub fn has_pending_keystrokes(&self) -> bool {
self.window
.rendered_frame
.dispatch_tree
.has_pending_keystrokes()
}
fn dispatch_action_on_node(&mut self, node_id: DispatchNodeId, action: Box<dyn Action>) {
let dispatch_path = self
.window