Fix a few more typos

This commit is contained in:
Mikayla 2024-01-17 14:58:58 -08:00
parent 285f4d1be9
commit e6ca92ffa4
No known key found for this signature in database
7 changed files with 8 additions and 8 deletions

View file

@ -967,8 +967,8 @@ impl AppContext {
}
/// Register a callback to be invoked when a keystroke is received by the application
/// in any window. Note that this fires after all other action and event mechansims have resolved
/// and that this API will not be invoked if the event's propogation is stopped.
/// in any window. Note that this fires after all other action and event mechanisms have resolved
/// and that this API will not be invoked if the event's propagation is stopped.
pub fn observe_keystrokes(
&mut self,
f: impl FnMut(&KeystrokeEvent, &mut WindowContext) + 'static,