From 52c2417685508a93f6a926c9ebe24c94e1183dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 7 Aug 2019 14:33:08 +0200 Subject: [PATCH] barLevel: Fix value range The range is usually within [0, 1], but since we support overdrive as well, the upper limit must be the maximum value we allow for overdrive. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/670 --- js/ui/barLevel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/barLevel.js b/js/ui/barLevel.js index 90fd20b62..489aec5d2 100644 --- a/js/ui/barLevel.js +++ b/js/ui/barLevel.js @@ -8,7 +8,7 @@ var BarLevel = GObject.registerClass({ 'value': GObject.ParamSpec.double( 'value', 'value', 'value', GObject.ParamFlags.READWRITE, - 0, 1, 0), + 0, 2, 0), 'maximum-value': GObject.ParamSpec.double( 'maximum-value', 'maximum-value', 'maximum-value', GObject.ParamFlags.READWRITE,