[gnome-shell] screenShield: Fix showing shield without animation
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] screenShield: Fix showing shield without animation
- Date: Fri, 10 Jan 2020 15:48:16 +0000 (UTC)
commit ceda02f2da963cb57a704d26c6df7e9df2cac4d6
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Jan 10 16:09:48 2020 +0100
screenShield: Fix showing shield without animation
Commit 24e631ffe2 changed the shield animation to use translation
instead of position.
However once the shield is raised, only an animation will lower it
again, which means the shield is missing when it's supposed to be
shown without animation (for example after an idle blank).
Fix this by resetting the translation-y property in that case.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/927
js/ui/screenShield.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index a33a96fae2..997ca29f54 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -1025,6 +1025,7 @@ var ScreenShield = class {
},
});
} else {
+ this._lockScreenGroup.translation_y = 0;
this._lockScreenGroup.fixed_position_set = false;
this._lockScreenShown({ fadeToBlack, animateFade: false });
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]