Added various controls to menubar, changed volumewheel function

This commit is contained in:
Core 2022-02-07 14:31:18 +00:00
parent 0e5ecc1656
commit e468b1fa83
4 changed files with 58 additions and 27 deletions

View file

@ -108,7 +108,7 @@
<div class="app-chrome-item volume display--large">
<button class="volume-button--small volume" @click="muteButtonPressed()"
:class="{'active': this.cfg.audio.volume == 0}"></button>
<input type="range" class="" @wheel="volumeWheel" step="0.01" min="0" :max="cfg.audio.maxVolume"
<input type="range" @wheel="volumeWheel" :step="cfg.audio.volumeStep" min="0" max="1"
v-model="mk.volume" v-if="typeof mk.volume != 'undefined'" @change="checkMuteChange()">
</div>
<div class="app-chrome-item generic">