mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 04:11:56 +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
|
||||
func (w *linuxWebviewWindow) SetMinimiseButtonState(state ButtonState) Window {
|
||||
return w
|
||||
}
|
||||
func (w *linuxWebviewWindow) setMinimiseButtonState(state ButtonState) {}
|
||||
|
||||
// SetMaximiseButtonState is unsupported on Linux
|
||||
func (w *linuxWebviewWindow) SetMaximiseButtonState(state ButtonState) Window {
|
||||
return w
|
||||
}
|
||||
func (w *linuxWebviewWindow) setMaximiseButtonState(state ButtonState) {}
|
||||
|
||||
// SetFullscreenButtonState is unsupported on Linux
|
||||
func (w *linuxWebviewWindow) SetCloseButtonState(state ButtonState) Window {
|
||||
return w
|
||||
}
|
||||
// SetCloseButtonState is unsupported on Linux
|
||||
func (w *linuxWebviewWindow) setCloseButtonState(state ButtonState) {}
|
||||
|
Loading…
Reference in New Issue
Block a user