Make dispatch_keystroke public to the crate only

This commit is contained in:
Antonio Scandurra committed 2023-05-03 19:13:17 +02:00
1 parent a849bf931b
commit 83e5f8dd49
1 file changed
+1 -1
+1 -1
View File
@@ -449,7 +449,7 @@ impl<'a> WindowContext<'a> {
})
}
pub fn dispatch_keystroke(&mut self, keystroke: &Keystroke) -> bool {
pub(crate) fn dispatch_keystroke(&mut self, keystroke: &Keystroke) -> bool {
let window_id = self.window_id;
if let Some(focused_view_id) = self.focused_view_id() {
let dispatch_path = self