[gnome-shell] animation: Don't sync animation sizes on change
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] animation: Don't sync animation sizes on change
- Date: Wed, 16 Oct 2019 15:31:37 +0000 (UTC)
commit 74d7d3e2595a4efe29c7a00d6d58466e53bc6fa0
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Fri Jun 14 17:44:19 2019 +0300
animation: Don't sync animation sizes on change
When the actor size changes, we might incur into an allocation cycle.
This was introduced by commit b6ec02ce, but when the animation will be an actor
itself, there will be no need to update the children size on actor size update,
as this will be managed by the actor allocation cycle itself.
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1384
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559
js/ui/animation.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/js/ui/animation.js b/js/ui/animation.js
index 18c837e822..3ad1358d57 100644
--- a/js/ui/animation.js
+++ b/js/ui/animation.js
@@ -12,7 +12,6 @@ var Animation = class {
this.actor = new St.Bin();
this.actor.set_size(width, height);
this.actor.connect('destroy', this._onDestroy.bind(this));
- this.actor.connect('notify::size', this._syncAnimationSize.bind(this));
this.actor.connect('resource-scale-changed',
this._loadFile.bind(this, file, width, height));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]