From fe382acfd09870992c0516173360fd7da8c108a8 Mon Sep 17 00:00:00 2001 From: JoJoJet <21144246+JoJoJet@users.noreply.github.com> Date: Thu, 19 Jan 2023 04:35:46 +0000 Subject: [PATCH] Fix a typo on `Window::set_minimized` (#7276) # Objective There is a typo on the method `Window::set_minimized`. ## Solution fix it --- crates/bevy_window/src/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index b68a00e10c..f227af26c4 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -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); }