fixed volume condition (last commit broke it)

This commit is contained in:
Jason Chen 2022-01-19 20:47:27 -08:00
parent dea8d1528a
commit a23bb9a6a5
3 changed files with 10 additions and 9 deletions

View file

@ -81,7 +81,7 @@
<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'">
v-if="typeof app.mk.volume != 'undefined'" @change="app.checkMuteChange()">
</div>
</div>
</div>