1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

osd: fix opacity

part of #725
This commit is contained in:
bbedward
2025-11-15 11:43:05 -05:00
parent cbb244f785
commit 7e17e7d37a

View File

@@ -133,6 +133,14 @@ PanelWindow {
readonly property real popupSurfaceAlpha: SettingsData.popupTransparency
readonly property real effectiveShadowAlpha: Math.max(0, Math.min(1, shadowBaseAlpha * popupSurfaceAlpha * osdContainer.opacity))
DankRectangle {
id: background
anchors.fill: parent
radius: Theme.cornerRadius
color: Theme.withAlpha(Theme.surfaceContainer, osdContainer.popupSurfaceAlpha)
z: -1
}
Item {
id: bgShadowLayer
anchors.fill: parent