mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2024-11-08 10:11:52 +00:00
fix(encoding): Truncate percent instead of round it
This commit is contained in:
parent
f91b072528
commit
f57601366b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export default {
|
||||||
return this.value * 100
|
return this.value * 100
|
||||||
},
|
},
|
||||||
roundedPercentage () {
|
roundedPercentage () {
|
||||||
return Math.round(this.percentage)
|
return Math.trunc(this.percentage)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue