Skip to content

Commit fe382ac

Browse files
committed
Fix a typo on Window::set_minimized (#7276)
# Objective There is a typo on the method `Window::set_minimized`. ## Solution fix it
1 parent 629cfab commit fe382ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_window/src/window.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ impl Window {
193193
self.internal.maximize_request = Some(maximized);
194194
}
195195

196-
/// Setting this to true will attempt to maximize the window.
196+
/// Setting this to true will attempt to minimize the window.
197197
///
198-
/// Setting it to false will attempt to un-maximize the window.
198+
/// Setting it to false will attempt to un-minimize the window.
199199
pub fn set_minimized(&mut self, minimized: bool) {
200200
self.internal.minimize_request = Some(minimized);
201201
}

0 commit comments

Comments
 (0)