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
This commit is contained in:
parent
9073debe60
commit
52c2417685
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user