mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 16:39:17 +02:00
Update track progress bars with css transitions
This commit is contained in:
parent
e9de6863c8
commit
9bef230499
5 changed files with 9 additions and 4 deletions
|
@ -57,7 +57,7 @@
|
|||
:class="['ui', 'small', 'vibrant', {'indicating': isLoadingAudio}, 'progress']"
|
||||
@click="touchProgress">
|
||||
<div class="buffer bar" :data-percent="bufferProgress" :style="{ 'width': bufferProgress + '%' }"></div>
|
||||
<div class="position bar" :data-percent="progress" :style="{ 'width': progress + '%' }"></div>
|
||||
<div class="position bar" :data-percent="progress" :style="{ 'transform': 'scale(' + progress + ', 1)' }"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="progress-area" v-else>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue