Migrate to vue3 (fix #126) #127
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user