fix: ✏️ fix typo on setRate
All checks were successful
repod / xml (push) Successful in 23s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Successful in 1m3s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-08-15 18:52:50 +02:00
parent a2b63241cc
commit 891d4762d0

View File

@ -40,7 +40,7 @@ export default {
...mapState(usePlayer, ['rate']),
},
methods: {
...mapActions(usePlayer, ['seRate']),
...mapActions(usePlayer, ['setRate']),
changeRate(diff) {
const newRate = (this.rate + diff).toPrecision(2)
this.setRate(newRate > 0 ? newRate : this.rate)