mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[windows] Fix min/max buttons
This commit is contained in:
@@ -240,10 +240,10 @@ func (w *windowsWebviewWindow) run() {
|
||||
|
||||
// Min/max buttons
|
||||
if !options.Windows.DisableMinimiseButton {
|
||||
w.setMinimiseButtonEnabled(false)
|
||||
w.setMinimiseButtonEnabled(true)
|
||||
}
|
||||
if !options.Windows.DisableMaximiseButton {
|
||||
w.setMaximiseButtonEnabled(false)
|
||||
w.setMaximiseButtonEnabled(true)
|
||||
}
|
||||
|
||||
// Register the window with the application
|
||||
|
||||
Reference in New Issue
Block a user