From 203b19ce454978c9f54b3135c0a86dfeacf8e2d8 Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Tue, 10 Mar 2026 19:15:26 +0100 Subject: [PATCH] shader hotfix --- Modules/Workspaces.qml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/Modules/Workspaces.qml b/Modules/Workspaces.qml index 1cc64e6..9f30f02 100644 --- a/Modules/Workspaces.qml +++ b/Modules/Workspaces.qml @@ -91,7 +91,7 @@ Item { CustomText { anchors.centerIn: parent - color: DynamicColors.palette.m3onSecondaryContainer + color: button.modelData.active ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSecondaryContainer elide: Text.ElideRight horizontalAlignment: Text.AlignHCenter text: button.modelData.name @@ -149,21 +149,11 @@ Item { } } - ShaderEffectSource { - id: activeTextTex - - anchors.fill: bgRect - anchors.margins: root.activeWorkspaceMargin - hideSource: true - live: true - recursive: true - sourceItem: activeTextSource - } - Item { id: indicatorMask anchors.fill: bgRect + layer.enabled: true visible: false CustomRect { @@ -176,21 +166,12 @@ Item { } } - ShaderEffectSource { - id: indicatorMaskEffect - - anchors.fill: activeTextSource - live: true - sourceItem: indicatorMask - visible: false - } - MultiEffect { anchors.fill: activeTextSource maskEnabled: true maskInverted: false - maskSource: indicatorMaskEffect - source: activeTextTex + maskSource: indicatorMask + source: activeTextSource z: 5 } }