fix: rare state error in toFixed
Some checks are pending
Check / check (push) Waiting to run

This commit is contained in:
ThaUnknown 2025-08-27 23:38:00 +02:00
parent 589b3170b1
commit 57cb165d55
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "ui",
"version": "6.4.106",
"version": "6.4.107",
"license": "BUSL-1.1",
"private": true,
"packageManager": "pnpm@9.15.5",

View file

@ -948,9 +948,9 @@
<Volume bind:volume={$volume} bind:muted />
</div>
<div class='flex gap-2'>
{#if $playbackRate !== 1}
{#if $playbackRate !== 1 && $playbackRate}
<div class='flex justify-center items-center leading-none text-base font-bold px-1 pt-0.5'>
x{$playbackRate.toFixed(1)}
x{$playbackRate?.toFixed(1)}
</div>
{/if}
<Options {fullscreen} {wrapper} {seekTo} bind:openSubs {video} {selectAudio} {selectVideo} {chapters} {subtitles} {videoFiles} {selectFile} {pip} bind:playbackRate={$playbackRate} bind:subtitleDelay id='player-options-button' />