mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue