fix metrix

This commit is contained in:
Andrei Yankovich 2021-05-05 13:04:35 +03:00
parent c11bd8131d
commit 3e96b63841

View File

@ -20,9 +20,7 @@ Item {
readonly property real gamePt: (width < height) ? width / pointCount : height / pointCount; readonly property real gamePt: (width < height) ? width / pointCount : height / pointCount;
function getfactor(dsm) { function getfactor(dsm) {
if (dsm < 30) { if ( dsm < 70) {
return 0.5
} else if ( dsm < 70) {
return 1 return 1
} else if (dsm < 140) { } else if (dsm < 140) {
return 2; return 2;