Fix some typos (#2901)

This commit is contained in:
Josh Groves 2023-06-23 04:40:36 -02:30 committed by GitHub
parent 05444628e6
commit 864a1d5924
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ And please only add new entries to the top of this list, right below the `# Unre
# Unreleased # Unreleased
- **Breaking:** Rename `Window::set_ime_position` to `Window::set_ime_cursor_area` adding a way to set exclusize zone. - **Breaking:** Rename `Window::set_ime_position` to `Window::set_ime_cursor_area` adding a way to set exclusive zone.
- On Android, changed default behavior of Android to ignore volume keys letting the operating system handle them. - On Android, changed default behavior of Android to ignore volume keys letting the operating system handle them.
- On Android, added `EventLoopBuilderExtAndroid::handle_volume_keys` to indicate that the application will handle the volume keys manually. - On Android, added `EventLoopBuilderExtAndroid::handle_volume_keys` to indicate that the application will handle the volume keys manually.
- **Breaking:** Rename `DeviceEventFilter` to `DeviceEvents` reversing the behavior of variants. - **Breaking:** Rename `DeviceEventFilter` to `DeviceEvents` reversing the behavior of variants.
@ -31,7 +31,7 @@ And please only add new entries to the top of this list, right below the `# Unre
active (software) keyboard layout. active (software) keyboard layout.
- Add `NativeKey` to represent raw `Key`s which Winit doesn't understand. - Add `NativeKey` to represent raw `Key`s which Winit doesn't understand.
- Add `KeyLocation` to tell apart `Key`s which usually "mean" the same thing, - Add `KeyLocation` to tell apart `Key`s which usually "mean" the same thing,
but can appear simultanesouly in different spots on the same keyboard but can appear simultaneously in different spots on the same keyboard
layout. layout.
- Add `Window::reset_dead_keys` to enable application-controlled cancellation - Add `Window::reset_dead_keys` to enable application-controlled cancellation
of dead key sequences. of dead key sequences.
@ -393,7 +393,7 @@ And please only add new entries to the top of this list, right below the `# Unre
# 0.23.0 (2020-10-02) # 0.23.0 (2020-10-02)
- On iOS, fixed support for the "Debug View Heirarchy" feature in Xcode. - On iOS, fixed support for the "Debug View Hierarchy" feature in Xcode.
- On all platforms, `available_monitors` and `primary_monitor` are now on `EventLoopWindowTarget` rather than `EventLoop` to list monitors event in the event loop. - On all platforms, `available_monitors` and `primary_monitor` are now on `EventLoopWindowTarget` rather than `EventLoop` to list monitors event in the event loop.
- On Unix, X11 and Wayland are now optional features (enabled by default) - On Unix, X11 and Wayland are now optional features (enabled by default)
- On X11, fix deadlock when calling `set_fullscreen_inner`. - On X11, fix deadlock when calling `set_fullscreen_inner`.

View file

@ -257,7 +257,7 @@ impl ResizeScaleInternal {
let writing_mode = style let writing_mode = style
.get_property_value("writing-mode") .get_property_value("writing-mode")
.expect("`wirting-mode` is a valid CSS property"); .expect("`writing-mode` is a valid CSS property");
// means the canvas is not inserted into the DOM // means the canvas is not inserted into the DOM
if writing_mode.is_empty() { if writing_mode.is_empty() {