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()
|
||||||
|
|
||||||
|
|
|
@ -100,8 +100,9 @@ controls:
|
||||||
int radius: theme.radius
|
int radius: theme.radius
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -100,8 +100,9 @@ controls:
|
||||||
int radius: theme.radius
|
int radius: theme.radius
|
||||||
|
|
||||||
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