[gnome-shell] barLevel: Don't reset value on overview-start changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] barLevel: Don't reset value on overview-start changes
- Date: Tue, 6 Aug 2019 13:02:21 +0000 (UTC)
commit bf36d99a335295e70f34afb41d53c27f82c4d7cf
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jul 25 15:59:01 2019 +0000
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
js/ui/barLevel.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/js/ui/barLevel.js b/js/ui/barLevel.js
index ea295f1e8..7b3d89213 100644
--- a/js/ui/barLevel.js
+++ b/js/ui/barLevel.js
@@ -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();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]