Fix a typo on Window::set_minimized (#7276)

# Objective

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

## Solution

fix it
This commit is contained in:
JoJoJet 2023-01-19 04:35:46 +00:00
parent 629cfab135
commit fe382acfd0

View file

@ -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);
}