Add more options to default playback rate menu (#4880)

* 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
This commit is contained in:
Mehul Sweeti Agrawal 2024-04-12 20:59:09 +05:30 committed by GitHub
parent 5aba52beac
commit ae8e0ce96d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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"
/>