[v3 linux] correct transparency setting

This commit is contained in:
Travis McLane
2023-09-01 15:57:13 -05:00
parent 69ac5caa4b
commit 54fcacfed1
+1 -1
View File
@@ -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)