mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-05-10 04:09:35 +00:00
fix metrix
This commit is contained in:
parent
c11bd8131d
commit
3e96b63841
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user