fix: remove more uses of cliprect and finally fix workspace's layer texture

This commit is contained in:
2026-10-29 17:44:19 +01:00
parent 4252812e82
commit ed7e977eb5
14 changed files with 119 additions and 105 deletions
+11 -3
View File
@@ -125,7 +125,7 @@ Item {
current: root.current
}
ClipRect {
Item {
id: expandedRect
anchors.left: parent.left
@@ -133,11 +133,19 @@ Item {
anchors.top: layout.bottom
anchors.bottom: parent.bottom
anchors.topMargin: Tokens.spacing.small
color: Colors.palette.m3surfaceContainerLow
implicitHeight: expandedContent.contentHeight + expandedContent.anchors.margins * 2
opacity: root.expanded ? 1 : 0
radius: Tokens.rounding.medium
visible: opacity > 0
clip: true
CustomRect {
id: bg
anchors.fill: parent
radius: Tokens.rounding.medium
color: Colors.palette.m3surfaceContainerLow
}
Behavior on opacity {
Anim {}