Skip to content

Commit

Permalink
Add more options to default playback rate menu (#4880)
Browse files Browse the repository at this point in the history
* make slider precise as per playback speed

* Resolve type error in Default Playback

* Adjust the min value of playback slider in accordance to selected interval

* Fix min value of Default Playback
  • Loading branch information
msagr authored Apr 12, 2024
1 parent 5aba52b commit ae8e0ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/components/player-settings/player-settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@
<ft-slider
:label="$t('Settings.Player Settings.Default Playback Rate')"
:default-value="defaultPlayback"
:min-value="0.25"
:min-value="parseFloat(videoPlaybackRateInterval)"
:max-value="8"
:step="0.25"
:step="parseFloat(videoPlaybackRateInterval)"
value-extension="x"
@change="updateDefaultPlayback"
/>
Expand Down

0 comments on commit ae8e0ce

Please sign in to comment.