Similar fade on all menus

This commit is contained in:
David Heinemeier Hansson
2026-05-16 12:58:39 +02:00
parent 372f582b3d
commit 80ab790879
2 changed files with 7 additions and 2 deletions
@@ -382,7 +382,7 @@ Item {
Rectangle {
anchors.fill: parent
color: root.withAlpha(root.background, 0.72)
color: root.withAlpha(root.background, 0.5)
}
MouseArea {
@@ -67,7 +67,7 @@ Item {
property int dividerHeight: 17
property bool searchDivider: false
property int layoutSerial: 0
property int cardWidth: Math.min(300, panel.width - 48)
property int cardWidth: Math.min(root.activeMenu === "trigger.capture.screenrecord" ? 520 : 300, panel.width - 48)
property int visibleRowsHeight: rowListHeight(layoutSerial, displayModel.count, filterText, searchDivider)
property int cardHeight: Math.min(Math.max(220, contentMargin * 2 + headerHeight + contentSpacing + visibleRowsHeight), panel.height - 48)
@@ -806,6 +806,11 @@ Item {
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
exclusionMode: ExclusionMode.Ignore
Rectangle {
anchors.fill: parent
color: root.withAlpha(root.background, 0.5)
}
MouseArea {
anchors.fill: parent
onClicked: root.cancel()