Skip to content

Commit

Permalink
Fix a typo on Window::set_minimized (#7276)
Browse files Browse the repository at this point in the history
# Objective

There is a typo on the method `Window::set_minimized`.

## Solution

fix it
  • Loading branch information
joseph-gio committed Jan 19, 2023
1 parent 629cfab commit fe382ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ impl Window {
self.internal.maximize_request = Some(maximized);
}

/// Setting this to true will attempt to maximize the window.
/// Setting this to true will attempt to minimize the window.
///
/// Setting it to false will attempt to un-maximize the window.
/// Setting it to false will attempt to un-minimize the window.
pub fn set_minimized(&mut self, minimized: bool) {
self.internal.minimize_request = Some(minimized);
}
Expand Down

0 comments on commit fe382ac

Please sign in to comment.