mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-07 12:11:50 +08:00
Fix linux window button methods
This commit is contained in:
parent
f738f1e246
commit
9d24c039fe
@ -339,16 +339,10 @@ func (w *linuxWebviewWindow) handleKeyEvent(acceleratorString string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SetMinimiseButtonState is unsupported on Linux
|
// SetMinimiseButtonState is unsupported on Linux
|
||||||
func (w *linuxWebviewWindow) SetMinimiseButtonState(state ButtonState) Window {
|
func (w *linuxWebviewWindow) setMinimiseButtonState(state ButtonState) {}
|
||||||
return w
|
|
||||||
}
|
|
||||||
|
|
||||||
// SetMaximiseButtonState is unsupported on Linux
|
// SetMaximiseButtonState is unsupported on Linux
|
||||||
func (w *linuxWebviewWindow) SetMaximiseButtonState(state ButtonState) Window {
|
func (w *linuxWebviewWindow) setMaximiseButtonState(state ButtonState) {}
|
||||||
return w
|
|
||||||
}
|
|
||||||
|
|
||||||
// SetFullscreenButtonState is unsupported on Linux
|
// SetCloseButtonState is unsupported on Linux
|
||||||
func (w *linuxWebviewWindow) SetCloseButtonState(state ButtonState) Window {
|
func (w *linuxWebviewWindow) setCloseButtonState(state ButtonState) {}
|
||||||
return w
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user