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

Disable powermenu bg on cc

This commit is contained in:
bbedward
2025-10-03 18:29:06 -04:00
parent 44449e26a0
commit f96e3b04be
2 changed files with 10 additions and 3 deletions

View File

@@ -127,9 +127,8 @@ DankPopout {
powerMenuModalLoader.active = true
if (powerMenuModalLoader.item) {
const popoutPos = controlContent.mapToItem(null, 0, 0)
powerMenuModalLoader.item.parentScreen = root.triggerScreen
powerMenuModalLoader.item.parentBounds = Qt.rect(popoutPos.x, popoutPos.y, controlContent.width, controlContent.height)
powerMenuModalLoader.item.open()
const bounds = Qt.rect(popoutPos.x, popoutPos.y, controlContent.width, controlContent.height)
powerMenuModalLoader.item.openFromControlCenter(bounds, root.triggerScreen)
}
}
}