Fix (explicitely define) popup overlay
This commit is contained in:
parent
bbc4a9bb17
commit
647d2e1f1f
|
@ -23,6 +23,12 @@ Popup {
|
||||||
color: theme.controls.popup.background
|
color: theme.controls.popup.background
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Overlay.modal: Rectangle {
|
||||||
|
color: "transparent"
|
||||||
|
|
||||||
|
HColorAnimation on color { to: theme.controls.popup.windowOverlay }
|
||||||
|
}
|
||||||
|
|
||||||
onAboutToShow: previouslyFocused = window.activeFocusItem
|
onAboutToShow: previouslyFocused = window.activeFocusItem
|
||||||
onClosed: if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
onClosed: if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
||||||
|
|
||||||
|
|
|
@ -102,6 +102,7 @@ controls:
|
||||||
popup:
|
popup:
|
||||||
int defaultWidth: minimumSupportedWidth * 1.75
|
int defaultWidth: minimumSupportedWidth * 1.75
|
||||||
color background: colors.mediumBackground
|
color background: colors.mediumBackground
|
||||||
|
color windowOverlay: hsluv(0, 0, 0, 0.7)
|
||||||
|
|
||||||
header:
|
header:
|
||||||
color background: colors.mediumBackground
|
color background: colors.mediumBackground
|
||||||
|
|
|
@ -102,6 +102,7 @@ controls:
|
||||||
popup:
|
popup:
|
||||||
int defaultWidth: minimumSupportedWidth * 1.75
|
int defaultWidth: minimumSupportedWidth * 1.75
|
||||||
color background: colors.mediumBackground
|
color background: colors.mediumBackground
|
||||||
|
color windowOverlay: hsluv(0, 0, 0, 0.7)
|
||||||
|
|
||||||
header:
|
header:
|
||||||
color background: colors.mediumBackground
|
color background: colors.mediumBackground
|
||||||
|
|
Loading…
Reference in New Issue
Block a user