mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
reduce precision
This commit is contained in:
parent
7feb9910c9
commit
425209189d
1 changed files with 2 additions and 1 deletions
|
@ -126,8 +126,9 @@ ListModel {
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue