progress seeking is now smoother

This commit is contained in:
booploops 2022-03-10 01:12:11 -08:00
parent 37fd116f01
commit e07543b333
3 changed files with 5 additions and 2 deletions

View file

@ -86,7 +86,7 @@
<input type="range" step="0.01" min="0" :style="progressBarStyle()"
@input="playerLCD.desiredDuration = $event.target.value;playerLCD.userInteraction = true"
@mouseup="mk.seekToTime($event.target.value);playerLCD.desiredDuration = 0;playerLCD.userInteraction = false"
@mouseup="mk.seekToTime($event.target.value);setTimeout(()=>{playerLCD.desiredDuration = 0;playerLCD.userInteraction = false}, 1000);"
:max="mk.currentPlaybackDuration" :value="getSongProgress()">
</div>
</div>