From 79b54f65b45a58fe2b7937c4db85c0644b38c7d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 7 Aug 2019 14:55:49 +0200 Subject: [PATCH] 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 --- js/ui/status/volume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/volume.js b/js/ui/status/volume.js index 8ab001cd8..470e1f7b4 100644 --- a/js/ui/status/volume.js +++ b/js/ui/status/volume.js @@ -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)