1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-02 02:22:06 -04:00

fix transparency

This commit is contained in:
bbedward
2026-04-25 11:49:22 -04:00
parent c10b42f599
commit 0c2d00b79c
2 changed files with 1 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ PanelWindow {
id: bgShadowLayer
anchors.fill: parent
anchors.margins: Theme.snap(4, win.dpr)
layer.enabled: !win._isDestroying && win.screenValid
layer.enabled: !win._isDestroying && win.screenValid && content.shadowsAllowed
layer.smooth: false
layer.textureSize: Qt.size(Math.round(width * win.dpr), Math.round(height * win.dpr))
layer.textureMirroring: ShaderEffectSource.MirrorVertically

View File

@@ -556,7 +556,6 @@ Item {
Rectangle {
anchors.fill: parent
radius: Theme.cornerRadius
visible: !BlurService.enabled
color: Theme.withAlpha(Theme.surfaceContainer, Theme.popupTransparency)
}