fix wrong start position on preview track
and incorrect loading icon
This commit is contained in:
parent
f9c0a6e652
commit
6b37b1af89
1 changed files with 4 additions and 2 deletions
|
@ -588,7 +588,7 @@
|
|||
}
|
||||
|
||||
.track button.loading.loading:after {
|
||||
content: "\1f504";
|
||||
content: "\1f506";
|
||||
color: var(--secondaryColor);
|
||||
font-family: 'icons' !important;
|
||||
speak: never;
|
||||
|
@ -1100,7 +1100,9 @@
|
|||
trackEl.querySelector('.duration').textContent = durationText;
|
||||
if(entry === currentEntry){
|
||||
updateTrackPreview();
|
||||
updateScrubPosition(entry.previewStart / entry.originalDuration);
|
||||
// updateScrubPosition(entry.previewStart / entry.originalDuration);
|
||||
updateScrubPosition(0);
|
||||
updatePreviewVolume(0);
|
||||
}
|
||||
});
|
||||
loaderEl.addEventListener('error', e => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue