mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
status/volume: Hide sliders initially
We update the visibility on state or stream changes, but those changes may never happen if pipewire-pulse/pulseaudio isn't available (for example when running as root). Hiding the sliders is preferable in that case to showing non-working controls. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2295>
This commit is contained in:
parent
f1d50a4a56
commit
9400759f25
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ var StreamSlider = class {
|
|||
this._control = control;
|
||||
|
||||
this.item = new PopupMenu.PopupBaseMenuItem({ activate: false });
|
||||
this.item.hide();
|
||||
|
||||
this._inDrag = false;
|
||||
this._notifyVolumeChangeId = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue