mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v3 linux] correct transparency setting
This commit is contained in:
parent
69ac5caa4b
commit
54fcacfed1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue