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:
parent
9bada1f2fb
commit
41b4c51341
@ -665,7 +665,6 @@ var UnlockDialog = GObject.registerClass({
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
this._activePage = this._promptBox;
|
this._activePage = this._promptBox;
|
||||||
this._promptBox.show();
|
|
||||||
|
|
||||||
this._adjustment.ease(1, {
|
this._adjustment.ease(1, {
|
||||||
duration: CROSSFADE_TIME,
|
duration: CROSSFADE_TIME,
|
||||||
|
Loading…
Reference in New Issue
Block a user