Skip to content

Commit c7bae60

Browse files
committed
fix: panel opacity sometimes not applying
1 parent 6f435ae commit c7bae60

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

package/contents/ui/main.qml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,12 @@ PlasmoidItem {
11901190
Utils.panelOpacity(panelElement, isEnabled, nativePanelBackgroundOpacity)
11911191
}
11921192

1193+
onNativePanelBackgroundEnabledChanged: {
1194+
if(!containmentItem) return
1195+
Utils.toggleTransparency(containmentItem, nativePanelBackgroundEnabled)
1196+
Utils.panelOpacity(panelElement, isEnabled, nativePanelBackgroundOpacity)
1197+
}
1198+
11931199
onFloatingDialogsChanged: {
11941200
setFloatigApplets()
11951201
}
@@ -1249,11 +1255,6 @@ PlasmoidItem {
12491255
when: doPanelLengthFix
12501256
}
12511257

1252-
onNativePanelBackgroundEnabledChanged: {
1253-
if(!containmentItem) return
1254-
Utils.toggleTransparency(containmentItem, nativePanelBackgroundEnabled)
1255-
}
1256-
12571258
onPanelLayoutCountChanged: {
12581259
if (panelLayoutCount === 0) return
12591260
console.error("onPanelLayoutCountChanged")

0 commit comments

Comments
 (0)