1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 14:02:53 -05:00

settings: don't overflow screen dimensions

This commit is contained in:
bbedward
2025-10-29 13:34:11 -04:00
parent 85f8e362e6
commit b294e391e7

View File

@@ -34,8 +34,8 @@ DankModal {
}
objectName: "settingsModal"
width: 800
height: 800
width: Math.min(800, screenWidth * 0.9)
height: Math.min(800, screenHeight * 0.85)
visible: false
onBackgroundClicked: () => {
return hide();