**shadows** update

This commit is contained in:
Zacharias-Brohn
2025-11-18 00:02:52 +01:00
parent c128dfc5c7
commit 57746ffc9e
6 changed files with 152 additions and 115 deletions
+3 -21
View File
@@ -7,6 +7,7 @@ import QtQuick.Effects
import QtQuick.Layouts
import qs.Config
import qs.Helpers
import qs.Effects
Scope {
id: root
@@ -50,34 +51,15 @@ Scope {
}
}
// mask: Region { item: backgroundRect }
Rectangle {
id: shadowRect
ShadowRect {
id: effects
anchors {
top: appListRect.top
bottom: backgroundRect.bottom
left: appListRect.left
right: appListRect.right
}
layer.enabled: true
radius: 8
color: "black"
visible: false
}
MultiEffect {
id: effects
source: shadowRect
anchors.fill: shadowRect
shadowBlur: 2.0
shadowEnabled: true
shadowOpacity: 1
shadowColor: "black"
maskSource: shadowRect
maskEnabled: true
maskInverted: true
autoPaddingEnabled: true
}
Rectangle {