[gnome-shell/gnome-3-36] screenShield: Switch lightboxes off before unlock transition
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-36] screenShield: Switch lightboxes off before unlock transition
- Date: Fri, 3 Apr 2020 15:09:07 +0000 (UTC)
commit 8b80a4cf4da39a76ca9a304b11d68913cbd3f527
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Apr 1 12:48:10 2020 +0000
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
(cherry picked from commit fb6ead2881525676d49a331c726200a5d78cb65c)
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 de43d3da19..1107a5ce96 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -519,6 +519,9 @@ var ScreenShield = class {
this._isModal = false;
}
+ this._longLightbox.lightOff();
+ this._shortLightbox.lightOff();
+
this._lockDialogGroup.ease({
translation_y: -global.screen_height,
duration: Overview.ANIMATION_TIME,
@@ -533,8 +536,6 @@ var ScreenShield = class {
this._dialog = null;
}
- this._longLightbox.lightOff();
- this._shortLightbox.lightOff();
this.actor.hide();
if (this._becameActiveId != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]