mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v2, windows] Fix maximised start state (#1243)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user