mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
barLevel: Don't reset value on overview-start changes
While it makes sense to cap the current value to a new maximum value, I can't think of a good reason why changing the overdrive-start should reset the current value to that. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/654
This commit is contained in:
parent
3ee525833e
commit
bf36d99a33
1 changed files with 0 additions and 1 deletions
|
|
@ -89,7 +89,6 @@ var BarLevel = class {
|
|||
`which is a number greater than the maximum allowed value ${this._maxValue}`);
|
||||
|
||||
this._overdriveStart = value;
|
||||
this._value = Math.max(Math.min(value, this._maxValue), 0);
|
||||
this.actor.queue_repaint();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue