mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix hideControls muting sound, #131.
This commit is contained in:
parent
9f3086a05a
commit
54a152ddad
@ -181,10 +181,12 @@
|
||||
}
|
||||
|
||||
@Watch('hideControls', { immediate: true })
|
||||
onHideControls() {
|
||||
onHideControls(enabled: boolean) {
|
||||
if (enabled) {
|
||||
this.$accessor.video.setMuted(false)
|
||||
this.$accessor.settings.setSound(false)
|
||||
}
|
||||
}
|
||||
|
||||
controlAttempt() {
|
||||
if (this.shakeKbd || this.$accessor.remote.hosted) return
|
||||
|
Loading…
Reference in New Issue
Block a user