diff --git a/src/components/Sidebar/Settings.vue b/src/components/Sidebar/Settings.vue index dbd56ac..9333125 100644 --- a/src/components/Sidebar/Settings.vue +++ b/src/components/Sidebar/Settings.vue @@ -8,11 +8,11 @@ @@ -92,9 +92,8 @@ export default { methods: { generateUrl, changeRate(diff) { - if (this.player.rate + diff > 0) { - this.$store.dispatch('player/rate', this.player.rate + diff) - } + const newRate = (this.player.rate + diff).toPrecision(2) + this.$store.dispatch('player/rate', newRate > 0 ? newRate : this.player.rate) }, async importOpml(event) { try {