mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 06:20:48 +08:00
[v2, windows] Fix maximised start state (#1243)
This commit is contained in:
parent
1048782eb4
commit
abe8ba9266
@ -511,8 +511,9 @@ func (f *Frontend) navigationCompleted(sender *edge.ICoreWebView2, args *edge.IC
|
||||
case options.Maximised:
|
||||
if !f.frontendOptions.DisableResize {
|
||||
f.mainWindow.Maximise()
|
||||
} else {
|
||||
f.mainWindow.Show()
|
||||
}
|
||||
f.mainWindow.Show()
|
||||
case options.Minimised:
|
||||
f.mainWindow.Minimise()
|
||||
case options.Fullscreen:
|
||||
|
Loading…
Reference in New Issue
Block a user