"transparent" => Color.transparent

This commit is contained in:
quadbyte 2025-08-17 05:54:55 -04:00
parent 8e239ad55d
commit dbdfbdc746
28 changed files with 57 additions and 57 deletions

View file

@ -12,7 +12,7 @@ PanelWindow {
property bool showOverlay: Settings.data.general.dimDesktop
property int topMargin: Style.barHeight * scaling
// Show dimming if this panel is opened OR if we're in a transition (to prevent flickering)
property color overlayColor: (showOverlay && (PanelService.openedPanel === root || isTransitioning)) ? Color.applyOpacity(Color.mShadow, "AA") : "transparent"
property color overlayColor: (showOverlay && (PanelService.openedPanel === root || isTransitioning)) ? Color.applyOpacity(Color.mShadow, "AA") : Color.transparent
property bool isTransitioning: false
signal dismissed
@ -49,7 +49,7 @@ PanelWindow {
implicitWidth: screen.width
implicitHeight: screen.height
color: visible ? overlayColor : "transparent"
color: visible ? overlayColor : Color.transparent
visible: false
WlrLayershell.exclusionMode: ExclusionMode.Ignore