volume: Fix overdrive in slider
When setting a maximum value above 1, we currently set a non-existant maximum_level property instead of the actual 'maximum-value' one. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/670
This commit is contained in:
parent
52c2417685
commit
79b54f65b4
@ -139,7 +139,7 @@ var StreamSlider = class {
|
||||
_amplifySettingsChanged() {
|
||||
this._allowAmplified = this._soundSettings.get_boolean(ALLOW_AMPLIFIED_VOLUME_KEY);
|
||||
|
||||
this._slider.maximum_level = this._allowAmplified
|
||||
this._slider.maximum_value = this._allowAmplified
|
||||
? this.getMaxLevel() : 1;
|
||||
|
||||
if (this._stream)
|
||||
|
Loading…
Reference in New Issue
Block a user