|
@@ -45,8 +45,8 @@ KonvergoWindow
|
|
|
transformOrigin: Item.TopLeft
|
|
|
scale:
|
|
|
{
|
|
|
- var verticalScale = height / 720;
|
|
|
- var horizontalScale = width / 1280;
|
|
|
+ var verticalScale = ((height * 2) / Screen.devicePixelRatio) / 720;
|
|
|
+ var horizontalScale = ((width * 2) / Screen.devicePixelRatio) / 1280;
|
|
|
|
|
|
var desiredScale = Math.min(verticalScale, horizontalScale);
|
|
|
var maximumScale = webMaxHeight ? (webMaxHeight / 720) : 10;
|