1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 15:02:50 -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" objectName: "settingsModal"
width: 800 width: Math.min(800, screenWidth * 0.9)
height: 800 height: Math.min(800, screenHeight * 0.85)
visible: false visible: false
onBackgroundClicked: () => { onBackgroundClicked: () => {
return hide(); return hide();