shitty floats shitty shitty
This commit is contained in:
parent
64c7d53f07
commit
a02b633f49
1 changed files with 5 additions and 4 deletions
|
@ -233,6 +233,7 @@ const app = new Vue({
|
|||
qrcode: false,
|
||||
equalizer: false,
|
||||
audioSettings: false,
|
||||
audioControls: false,
|
||||
showPlaylist: false,
|
||||
},
|
||||
socialBadges: {
|
||||
|
@ -272,7 +273,7 @@ const app = new Vue({
|
|||
artistPage: () => {
|
||||
document.getElementById("app-content").scrollTo(0, 0);
|
||||
app.resetState()
|
||||
},
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
songLinkShare(amUrl) {
|
||||
|
@ -3321,7 +3322,7 @@ const app = new Vue({
|
|||
console.log('setting max volume')
|
||||
} else {
|
||||
console.log('volume up')
|
||||
app.mk.volume += app.cfg.audio.volumeStep;
|
||||
app.mk.volume = ((app.mk.volume * 100) + (app.cfg.audio.volumeStep * 100)) / 100
|
||||
}
|
||||
},
|
||||
volumeDown() {
|
||||
|
@ -3330,11 +3331,11 @@ const app = new Vue({
|
|||
console.log('setting volume to 0')
|
||||
} else {
|
||||
console.log('volume down')
|
||||
app.mk.volume -= app.cfg.audio.volumeStep;
|
||||
app.mk.volume = ((app.mk.volume * 100) - (app.cfg.audio.volumeStep * 100)) / 100
|
||||
}
|
||||
},
|
||||
volumeWheel(event) {
|
||||
app.checkScrollDirectionIsUp(event) ? app.volumeUp() : app.volumeDown()
|
||||
app.checkScrollDirectionIsUp(event) ? this.volumeUp() : this.volumeDown()
|
||||
},
|
||||
muteButtonPressed() {
|
||||
if (this.cfg.audio.muted) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue