the backdrop is the input region, so it owes the way out
This commit is contained in:
parent
1ac33afb25
commit
bb81781007
1 changed files with 12 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue