diff --git a/Services/ScalingService.qml b/Services/ScalingService.qml index 0b8ef479..d85b9a3e 100644 --- a/Services/ScalingService.qml +++ b/Services/ScalingService.qml @@ -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 } }