Fix comment typo (#5421)

# Objective

- Fix some typos

## Solution

For the first time in my life, I made a pull request to OSS.
Am I right?


Co-authored-by: eiei114 <60887155+eiei114@users.noreply.github.com>
This commit is contained in:
eiei114 2022-07-22 15:04:32 +00:00
parent cfee0e882e
commit 619c30c036
2 changed files with 4 additions and 4 deletions

View file

@ -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 {

View file

@ -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`]