Archived
2
0

fix hideControls muting sound, #131.

This commit is contained in:
Miroslav Šedivý 2022-01-17 20:02:01 +01:00
parent 9f3086a05a
commit 54a152ddad

View File

@ -181,9 +181,11 @@
}
@Watch('hideControls', { immediate: true })
onHideControls() {
this.$accessor.video.setMuted(false)
this.$accessor.settings.setSound(false)
onHideControls(enabled: boolean) {
if (enabled) {
this.$accessor.video.setMuted(false)
this.$accessor.settings.setSound(false)
}
}
controlAttempt() {