[gnome-shell/wip/rstrode/login-screen-extensions: 16/134] screenShield: Switch lightboxes off before unlock transition




commit cd42c27658db5d15b8bc262a57bd4801bd2c7469
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Apr 1 14:48:10 2020 +0200

    screenShield: Switch lightboxes off before unlock transition
    
    There is no point in animating a transition with fullscreen black
    rectangles stacked on top, so switch them off before rather than
    after the transition.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1158

 js/ui/screenShield.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index cd38f11fc8..282f29fa30 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -1221,6 +1221,9 @@ var ScreenShield = class {
             this._isModal = false;
         }
 
+        this._longLightbox.hide();
+        this._shortLightbox.hide();
+
         Tweener.addTween(this._lockDialogGroup, {
             scale_x: 0,
             scale_y: 0,
@@ -1237,8 +1240,6 @@ var ScreenShield = class {
             this._dialog = null;
         }
 
-        this._longLightbox.hide();
-        this._shortLightbox.hide();
         this.actor.hide();
 
         if (this._becameActiveId != 0) {


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