Fix a few more typos
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -615,7 +615,7 @@ mod test {
|
||||
// Reset
|
||||
state.reset(5);
|
||||
|
||||
// And then recieve a scroll event _before_ the next paint
|
||||
// And then receive a scroll event _before_ the next paint
|
||||
cx.simulate_event(ScrollWheelEvent {
|
||||
position: point(px(1.), px(1.)),
|
||||
delta: ScrollDelta::Pixels(point(px(0.), px(-500.))),
|
||||
|
||||
@@ -200,7 +200,7 @@ impl<V> PartialEq for WeakView<V> {
|
||||
|
||||
impl<V> Eq for WeakView<V> {}
|
||||
|
||||
/// A dynically-typed handle to a view, which can be downcast to a [View] for a specific type.
|
||||
/// A dynamically-typed handle to a view, which can be downcast to a [View] for a specific type.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct AnyView {
|
||||
model: AnyModel,
|
||||
|
||||
Reference in New Issue
Block a user