Merge branch 'opaqueerror'

This commit is contained in:
Maze 2022-01-05 15:52:13 +01:00
commit ff621e3a01
3 changed files with 17 additions and 0 deletions

View File

@ -13,6 +13,11 @@ HColumnPopup {
property var errors: [] // [{type, message, traceback}] property var errors: [] // [{type, message, traceback}]
background: Rectangle {
color: theme.controls.popup.opaqueBackground
? theme.controls.popup.opaqueBackground
: theme.controls.popup.background // fallback
}
contentWidthLimit: Math.min(window.width / 1.5, 864 * theme.uiScale) contentWidthLimit: Math.min(window.width / 1.5, 864 * theme.uiScale)

View File

@ -116,6 +116,12 @@ controls:
popup: popup:
int defaultWidth: minimumSupportedWidth * 1.75 int defaultWidth: minimumSupportedWidth * 1.75
color background: colors.mediumBackground color background: colors.mediumBackground
color opaqueBackground: hsluv(
colors.hue,
colors.bgSaturation,
colors.intensity * 7,
1
)
color windowOverlay: hsluv(0, 0, 0, 0.7) color windowOverlay: hsluv(0, 0, 0, 0.7)
header: header:

View File

@ -119,6 +119,12 @@ controls:
popup: popup:
int defaultWidth: minimumSupportedWidth * 1.75 int defaultWidth: minimumSupportedWidth * 1.75
color background: colors.mediumBackground color background: colors.mediumBackground
color opaqueBackground: hsluv(
colors.hue,
colors.bgSaturation,
colors.intensity * 7,
1
)
color windowOverlay: hsluv(0, 0, 0, 0.7) color windowOverlay: hsluv(0, 0, 0, 0.7)
header: header: