click volume button to mute and unclick to go back to lastVolume
This commit is contained in:
parent
7bc77b2b1d
commit
c36b47bd93
5 changed files with 50 additions and 5 deletions
|
@ -78,8 +78,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="app-chrome-item volume display--large">
|
||||
<div class="app-chrome-item volume-icon"></div>
|
||||
<div class="input-container">
|
||||
<button class="volume-button--small volume" @click="app.muteButtonPressed()" :class="{'active': app.cfg.audio.volume == 0}"></button>
|
||||
<input type="range" class="slider" @wheel="app.volumeWheel" step="0.01" min="0" max="1" v-model="app.mk.volume"
|
||||
v-if="typeof app.mk.volume != 'undefined'">
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue