mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
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:
parent
629cfab135
commit
fe382acfd0
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue