We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd048c commit 95cf682Copy full SHA for 95cf682
ui/controls.js
@@ -136,8 +136,6 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
136
// the menus.
137
this.hideSettingsMenusTimer_.tickAfter(
138
/* seconds= */ this.config_.closeMenusDelay);
139
-
140
- this.dispatchVisibilityEvent_();
141
});
142
143
/**
@@ -153,6 +151,8 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
153
151
for (const menu of this.menus_) {
154
152
shaka.ui.Utils.setDisplay(menu, /* visible= */ false);
155
}
+
+ this.dispatchVisibilityEvent_();
156
157
158
0 commit comments