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
This commit is contained in:
Florian Müllner 2020-02-14 14:51:10 +01:00
parent 9bada1f2fb
commit 41b4c51341

View File

@ -665,7 +665,6 @@ var UnlockDialog = GObject.registerClass({
return;
this._activePage = this._promptBox;
this._promptBox.show();
this._adjustment.ease(1, {
duration: CROSSFADE_TIME,