Watch
1
0
Fork
You've already forked souveraine
0

the backdrop is the input region, so it owes the way out

This commit is contained in:
Fimeg 2026-08-05 20:10:40 -04:00
commit bb81781007

View file

@ -84,7 +84,7 @@ Scope {
// Mission control covers the whole glass (the blurred home
// backdrop), so there it is the whole window or the cards take no
// taps at all.
item: GlobalStates.missionControlOpen ? null : panelBg
item: GlobalStates.missionControlOpen ? missionBackdrop : panelBg
}
anchors {
@ -255,6 +255,17 @@ Scope {
anchors.fill: parent
color: CF.ColorUtils.transparentize(Appearance?.colors?.colLayer0 ?? "#101010", 0.25)
}
// The backdrop is the input region while mission control is up, so
// it owes the way out. Without this a tap outside a card lands on
// the overlay and does nothing, which is a screen you cannot leave.
MouseArea {
anchors.fill: parent
onClicked: {
GlobalStates.missionControlOpen = false;
GlobalStates.overviewOpen = false;
}
}
}
Rectangle {