Disabled dynamic scaling: only used on lockscreen

This commit is contained in:
ItsLemmy
2025-10-06 15:22:29 -04:00
parent 562ce47c4c
commit 0c8f4500a9
+6 -5
View File
@@ -120,11 +120,12 @@ Singleton {
readonly property int designScreenWidth: 2560
readonly property int designScreenHeight: 1440
function dynamicScale(aScreen) {
if (aScreen != null) {
var ratioW = aScreen.width / designScreenWidth
var ratioH = aScreen.height / designScreenHeight
return Math.min(ratioW, ratioH)
}
return 1.0
// if (aScreen != null) {
// var ratioW = aScreen.width / designScreenWidth
// var ratioH = aScreen.height / designScreenHeight
// return Math.min(ratioW, ratioH)
// }
// return 1.0
}
}