mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
Correctly unmute when volume track is dragged
This commit is contained in:
parent
a67a211272
commit
645bf9e3c7
1 changed files with 3 additions and 3 deletions
|
@ -35,10 +35,10 @@
|
|||
<equalizer v-if="useEqualizer" v-show="showEqualizer"/>
|
||||
<sound-bar v-show="song.playbackState === 'playing'"/>
|
||||
<i class="like control fa fa-heart" :class="{ liked: song.liked }" @click.prevent="like"/>
|
||||
<span class="control"
|
||||
<span class="control info"
|
||||
@click.prevent="toggleExtraPanel"
|
||||
:class="{ active: prefs.showExtraPanel }">Info</span>
|
||||
<i class="fa fa-sliders control"
|
||||
<i class="fa fa-sliders control equalizer"
|
||||
v-if="useEqualizer"
|
||||
@click="showEqualizer = !showEqualizer"
|
||||
:class="{ active: showEqualizer }"/>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<span class="volume control" id="volume">
|
||||
<i class="fa fa-volume-up" @click.prevent="mute" v-show="!muted"/>
|
||||
<i class="fa fa-volume-off" @click.prevent="unmute" v-show="muted"/>
|
||||
<input type="range" id="volumeRange" max="10" step="0.1" class="plyr__volume">
|
||||
<input type="range" id="volumeRange" max="10" step="0.1" @change="muted = false" class="plyr__volume">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue