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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user