mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Fix EJS_volume = 0 being ignored (#671)
* remove call to setVolume (too early)
This commit is contained in:
parent
84eb8901a9
commit
d33bce1eac
2 changed files with 1 additions and 2 deletions
|
@ -1652,7 +1652,6 @@ class EmulatorJS {
|
|||
muteButton.style.display = (volume === 0) ? "none" : "";
|
||||
}
|
||||
}
|
||||
if (!this.muted) this.setVolume(this.volume);
|
||||
|
||||
this.addEventListener(volumeSlider, "change mousemove touchmove mousedown touchstart mouseup", (e) => {
|
||||
setTimeout(() => {
|
||||
|
|
2
data/emulator.min.js
vendored
2
data/emulator.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue