|
|
80b029 |
From 423119599c7a98dc51dda6e5260c992e21438d60 Mon Sep 17 00:00:00 2001
|
|
|
80b029 |
From: Carlos Garnacho <carlosg@gnome.org>
|
|
|
80b029 |
Date: Mar 31 2021 16:40:10 +0000
|
|
|
80b029 |
Subject: extension: Do not relayout on scale changes
|
|
|
80b029 |
|
|
|
80b029 |
|
|
|
80b029 |
This makes the background logo position flicker as we enter the
|
|
|
80b029 |
overview. This actor is part of the BackgroundActor actor hierarchy,
|
|
|
80b029 |
and can be left to scale neatly with it.
|
|
|
80b029 |
|
|
|
80b029 |
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1943938
|
|
|
80b029 |
|
|
|
80b029 |
---
|
|
|
80b029 |
|
|
|
80b029 |
diff --git a/extension.js b/extension.js
|
|
|
80b029 |
index d1bf35b..edf2868 100644
|
|
|
80b029 |
--- a/extension.js
|
|
|
80b029 |
+++ b/extension.js
|
|
|
80b029 |
@@ -25,13 +25,6 @@ var IconContainer = GObject.registerClass(
|
|
|
80b029 |
class IconContainer extends St.Widget {
|
|
|
80b029 |
_init(params) {
|
|
|
80b029 |
super._init(params);
|
|
|
80b029 |
-
|
|
|
80b029 |
- this.connect('notify::scale-x', () => {
|
|
|
80b029 |
- this.queue_relayout();
|
|
|
80b029 |
- });
|
|
|
80b029 |
- this.connect('notify::scale-y', () => {
|
|
|
80b029 |
- this.queue_relayout();
|
|
|
80b029 |
- });
|
|
|
80b029 |
}
|
|
|
80b029 |
|
|
|
80b029 |
vfunc_get_preferred_width(forHeight) {
|
|
|
80b029 |
|