Add window::Settings::maximized
Corresponds to `winit:🪟:WindowAttributes::with_maximized`
This commit is contained in:
parent
c217500a5a
commit
13c649881e
2 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ pub fn window_attributes(
|
|||
width: settings.size.width,
|
||||
height: settings.size.height,
|
||||
})
|
||||
.with_maximized(settings.maximized)
|
||||
.with_resizable(settings.resizable)
|
||||
.with_enabled_buttons(if settings.resizable {
|
||||
winit::window::WindowButtons::all()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue