Skip to content

Commit f003967

Browse files
authored
Merge pull request phaserjs#4151 from Waclaw-I/HTML5AudioSound-fixes
Setting HTML5AudioSound's volume and mute is now working.
2 parents e927460 + 361708a commit f003967

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ var HTML5AudioSound = new Class({
634634
{
635635
return;
636636
}
637+
this.updateMute();
637638

638639
this.emit('mute', this, value);
639640
}
@@ -686,6 +687,7 @@ var HTML5AudioSound = new Class({
686687
{
687688
return;
688689
}
690+
this.updateVolume();
689691

690692
this.emit('volume', this, value);
691693
}

0 commit comments

Comments
 (0)