Skip to content

Commit 385a6dd

Browse files
authored
Fix: Unmute audio when increasing volume from mute state (#18)
1 parent 24e5cc4 commit 385a6dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

volume_scroller@francislavoie.github.io/extension.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ export default class VolumeScrollerExtension extends Extension {
7171
const multiplier = this.direction ? -1 : 1;
7272
switch (event.get_scroll_direction()) {
7373
case Clutter.ScrollDirection.UP:
74+
if (this.sink.is_muted) {
75+
this.sink.change_is_muted(false);
76+
}
7477
volume += this._get_step() * multiplier;
7578
break;
7679

0 commit comments

Comments
 (0)