Make dispatch_keystroke public to the crate only

This commit is contained in:
Antonio Scandurra 2023-05-03 19:13:17 +02:00
parent 9e8f852afb
commit 7250754f8e

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