[gnome-shell] unlockDialog: Don't explicitly show prompt
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] unlockDialog: Don't explicitly show prompt
- Date: Fri, 14 Feb 2020 14:01:51 +0000 (UTC)
commit 41b4c51341de37663a4034b7bb66392f57017a4a
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 14 14:51:10 2020 +0100
unlockDialog: Don't explicitly show prompt
The promptBox is initially fully opaque, so showing it before the
transition can result in a brief flash before fading in.
Just remove the show() call and let the transition handle the
visibility.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/2212
js/ui/unlockDialog.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index dd6f971cff..cae22f20e1 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -665,7 +665,6 @@ var UnlockDialog = GObject.registerClass({
return;
this._activePage = this._promptBox;
- this._promptBox.show();
this._adjustment.ease(1, {
duration: CROSSFADE_TIME,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]