mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-04 09:25:11 +02:00
reduce precision
This commit is contained in:
parent
7feb9910c9
commit
425209189d
1 changed files with 2 additions and 1 deletions
|
@ -126,10 +126,11 @@ ListModel {
|
||||||
var v2 = o2[prop];
|
var v2 = o2[prop];
|
||||||
|
|
||||||
|
|
||||||
if(v1 !== v2 && Math.round(v1 * 1000) != Math.round(v2 * 1000))
|
if(v1 !== v2 && Math.round(v1 * 500) != Math.round(v2 * 500)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue