screenShield: Reset correct translation

When showing the lock dialog without animation, we currently reset the
translation of the wrong actor, leaving the unlock dialog off-screen.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2213
This commit is contained in:
Florian Müllner 2020-02-15 01:57:06 +01:00 committed by Florian Müllner
parent bcc652632d
commit 5934dc16d3

View File

@ -431,7 +431,7 @@ var ScreenShield = class {
},
});
} else {
this._lockScreenGroup.translation_y = 0;
this._lockDialogGroup.translation_y = 0;
this._lockScreenShown({ fadeToBlack, animateFade: false });
}