From fa61925982f827228084afb8b23739b277694882 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Fri, 7 Nov 2025 19:32:10 -0500 Subject: [PATCH] MainScreen: Only dim & mask if panel is opened on 'this' screen. --- Modules/Bar/Widgets/Workspace.qml | 4 ++-- Modules/MainScreen/MainScreen.qml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/Bar/Widgets/Workspace.qml b/Modules/Bar/Widgets/Workspace.qml index a0ec3048..0ceec88e 100644 --- a/Modules/Bar/Widgets/Workspace.qml +++ b/Modules/Bar/Widgets/Workspace.qml @@ -54,8 +54,8 @@ Item { property bool effectsActive: false property color effectColor: Color.mPrimary - property int horizontalPadding: Math.round(Style.marginS) - property int spacingBetweenPills: Math.round(Style.marginXS) + property int horizontalPadding: Style.marginS + property int spacingBetweenPills: Style.marginXS // Wheel scroll handling property int wheelAccumulatedDelta: 0 diff --git a/Modules/MainScreen/MainScreen.qml b/Modules/MainScreen/MainScreen.qml index 48be213f..78cf25e4 100644 --- a/Modules/MainScreen/MainScreen.qml +++ b/Modules/MainScreen/MainScreen.qml @@ -78,7 +78,7 @@ PanelWindow { // Desktop dimming when panels are open property bool dimDesktop: Settings.data.general.dimDesktop - property bool isPanelOpen: PanelService.openedPanel !== null + property bool isPanelOpen: (PanelService.openedPanel !== null) && (PanelService.openedPanel.screen === screen) color: { if (dimDesktop && isPanelOpen) { return Qt.alpha(Color.mShadow, 0.8)