fix stuff not getting blurred when transparency is enabled

This commit is contained in:
end-4
2025-08-11 22:42:14 +07:00
parent e8ebf5af73
commit d448b76dd4
3 changed files with 16 additions and 2 deletions
@@ -105,7 +105,7 @@ Item { // Notification group area
id: background
anchors.left: parent.left
width: parent.width
color: Appearance.colors.colLayer2
color: popup ? ColorUtils.applyAlpha(Appearance.colors.colLayer2, 1 - Appearance.backgroundTransparency) : Appearance.colors.colLayer2
radius: Appearance.rounding.normal
anchors.leftMargin: root.xOffset
@@ -1,4 +1,5 @@
import qs.modules.common
import qs.modules.common.functions
import QtQuick
import QtQuick.Effects
import Quickshell
@@ -54,7 +55,7 @@ LazyLoader {
anchors.centerIn: parent
implicitWidth: root.contentItem.implicitWidth + margin * 2
implicitHeight: root.contentItem.implicitHeight + margin * 2
color: Appearance.colors.colSurfaceContainer
color: ColorUtils.applyAlpha(Appearance.colors.colSurfaceContainer, 1 - Appearance.backgroundTransparency)
radius: Appearance.rounding.small
children: [root.contentItem]