mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v3 linux] correct transparency setting
This commit is contained in:
@@ -476,7 +476,7 @@ func (w *linuxWebviewWindow) setTransparent() {
|
||||
}
|
||||
|
||||
func (w *linuxWebviewWindow) setBackgroundColour(colour RGBA) {
|
||||
if colour.Alpha != 0 {
|
||||
if colour.Alpha < 255 {
|
||||
w.setTransparent()
|
||||
}
|
||||
windowSetBackgroundColour(w.webview, colour)
|
||||
|
||||
Reference in New Issue
Block a user