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

DankPopout: make bg and content siblings

This commit is contained in:
bbedward
2026-02-03 14:31:31 -05:00
parent f59aeb2782
commit b811316d0c
2 changed files with 11 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
import QtQuick
import QtQuick.Layouts
import qs.Common
import qs.Services
import qs.Widgets

View File

@@ -453,25 +453,24 @@ Item {
}
}
DankRectangle {
Rectangle {
anchors.fill: parent
radius: Theme.cornerRadius
color: Theme.withAlpha(Theme.surfaceContainer, Theme.popupTransparency)
color: Theme.surfaceContainer
}
}
Item {
id: contentLoaderWrapper
DankRectangle {
anchors.fill: parent
x: Theme.snap(x, root.dpr)
y: Theme.snap(y, root.dpr)
radius: Theme.cornerRadius
color: Theme.withAlpha(Theme.surfaceContainer, Theme.popupTransparency)
}
Loader {
id: contentLoader
anchors.fill: parent
active: shouldBeVisible || contentWindow.visible
asynchronous: false
}
Loader {
id: contentLoader
anchors.fill: parent
active: shouldBeVisible || contentWindow.visible
asynchronous: false
}
}
}