diff --git a/crates/bevy_gltf/src/lib.rs b/crates/bevy_gltf/src/lib.rs index b1748f8be8629..f86efd9732ffb 100644 --- a/crates/bevy_gltf/src/lib.rs +++ b/crates/bevy_gltf/src/lib.rs @@ -57,7 +57,7 @@ pub struct GltfNode { pub transform: bevy_transform::prelude::Transform, } -/// A glTF mesh, which may consists of multiple [`GtlfPrimitives`](GltfPrimitive). +/// A glTF mesh, which may consist of multiple [`GltfPrimitives`](GltfPrimitive). #[derive(Debug, Clone, TypeUuid)] #[uuid = "8ceaec9a-926a-4f29-8ee3-578a69f42315"] pub struct GltfMesh { diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index 435f4002a0263..3972046781d29 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -625,10 +625,10 @@ impl Window { /// - **`Windows`**, **`X11`**, and **`Wayland`**: The cursor is hidden only when inside the window. To stop the cursor from leaving the window, use [`set_cursor_lock_mode`](Window::set_cursor_lock_mode). /// - **`macOS`**: The cursor is hidden only when the window is focused. /// - **`iOS`** and **`Android`** do not have cursors - pub fn set_cursor_visibility(&mut self, visibile_mode: bool) { - self.cursor_visible = visibile_mode; + pub fn set_cursor_visibility(&mut self, visible_mode: bool) { + self.cursor_visible = visible_mode; self.command_queue.push(WindowCommand::SetCursorVisibility { - visible: visibile_mode, + visible: visible_mode, }); } /// Get the current [`CursorIcon`]