Renamed and changed convertToMins function to work with larger values

This commit is contained in:
Core 2022-02-07 19:23:22 +00:00
parent 3340fb93df
commit 21026816fe
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
4 changed files with 24 additions and 10 deletions

View file

@ -44,8 +44,8 @@
<div class="song-progress">
<div class="song-duration" style="justify-content: space-between; height: 1px; margin-bottom: 1px;"
:style="[app.chrome.progresshover ? {'display': 'flex'} : {'display' : 'none'} ]">
<p style="width: auto">{{ app.convertToMins(app.getSongProgress()) }}</p>
<p style="width: auto">{{ app.convertToMins(app.mk.currentPlaybackDuration) }}</p>
<p style="width: auto">{{ app.convertTime(app.getSongProgress()) }}</p>
<p style="width: auto">{{ app.convertTime(app.mk.currentPlaybackDuration) }}</p>
</div>
<input type="range" step="0.01" min="0" :style="app.progressBarStyle()"