[gnome-shell] windowPreview: Keep borderCenter always visible



commit 56c118de8738c2593273606383f5972641eaf25d
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Oct 14 03:17:28 2020 +0200

    windowPreview: Keep borderCenter always visible
    
    We need it to position the icon now, which isn't hidden with the
    border.
    
    https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/81
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1605>

 js/ui/windowPreview.js | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/js/ui/windowPreview.js b/js/ui/windowPreview.js
index 63f519f085..e860f06471 100644
--- a/js/ui/windowPreview.js
+++ b/js/ui/windowPreview.js
@@ -297,8 +297,6 @@ var WindowPreview = GObject.registerClass({
             factor: 0.5,
         }));
         this._borderCenter = new Clutter.Actor();
-        this._border.bind_property('visible', this._borderCenter, 'visible',
-            GObject.BindingFlags.SYNC_CREATE);
         this._borderCenterConstraint = new Clutter.BindConstraint({
             source: this._windowContainer,
             coordinate: Clutter.BindCoordinate.SIZE,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]