Keep the modal, but relatively positioned

This commit is contained in:
bbedward committed 2025-10-03 17:16:34 -04:00
1 parent 04ea742830
commit fedec450cb
2 files changed
+12

No files matched your search

@@ -126,6 +126,8 @@ DankPopout {
if (powerMenuModalLoader) {
powerMenuModalLoader.active = true
if (powerMenuModalLoader.item) {
const globalPos = controlContent.mapToGlobal(0, 0)
powerMenuModalLoader.item.parentBounds = Qt.rect(globalPos.x, globalPos.y, controlContent.width, controlContent.height)
powerMenuModalLoader.item.open()
}
}