mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
authPrompt: Fade out cancel button after verification
Right now we make the cancel button non-reactive when verification is complete, but it still disrupts the login transition because in many cases most of the other screen elements have been faded out. This commit fades it out as well.
This commit is contained in:
parent
6f1e1172a0
commit
bbb97681bc
1 changed files with 5 additions and 0 deletions
|
|
@ -536,6 +536,11 @@ export const AuthPrompt = GObject.registerClass({
|
|||
this.verificationStatus = AuthPromptStatus.VERIFICATION_SUCCEEDED;
|
||||
this.cancelButton.reactive = false;
|
||||
this.cancelButton.can_focus = false;
|
||||
this.cancelButton.ease({
|
||||
opacity: 0,
|
||||
duration: MESSAGE_FADE_OUT_ANIMATION_TIME,
|
||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||
});
|
||||
}
|
||||
|
||||
_onReset() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue