authPrompt: Wiggle error messages coming from the Fingerprint service
When error messages are coming from the fingerprint service they are actual failures due to an user input in some device, in so in such case we can highlight this by using a wiggle effect. This mimics what has been done in gnome-control-center fingerprint panel and part of [1]. [1] https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/56 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1652>
This commit is contained in:
parent
19c4dce322
commit
75a1798e75
@ -430,6 +430,10 @@ var AuthPrompt = GObject.registerClass({
|
||||
} else {
|
||||
this._message.opacity = 0;
|
||||
}
|
||||
|
||||
if (type === GdmUtil.MessageType.ERROR &&
|
||||
this._userVerifier.serviceIsFingerprint(serviceName))
|
||||
Util.wiggle(this._message);
|
||||
}
|
||||
|
||||
updateSensitivity(sensitive) {
|
||||
|
Loading…
Reference in New Issue
Block a user