Don't allow popouts to go off screen

This commit is contained in:
bbedward committed 2025-09-26 13:47:40 -04:00
1 parent 99ef447a52
commit 01125e092c
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ PanelWindow {
}
return triggerX
}
readonly property real calculatedY: triggerY
readonly property real calculatedY: Math.max(Theme.spacingM, Math.min(screenHeight - popupHeight - Theme.spacingM, triggerY))
width: popupWidth
height: popupHeight