mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
authPrompt: Don't hide the caps lock warning label
Hiding the Caps lock warning label changes the layout of Auth Prompt. This is specially noticeable when logging in with unlisted users, where we change the visibility of this label after typing a username, and the whole user widget moves a bit. Change the Cap lock label's opacity instead of hiding it. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922
This commit is contained in:
parent
261d6d35f5
commit
9f5f6aa9b2
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ var AuthPrompt = GObject.registerClass({
|
|||
this._mainBox.replace_child(this._entry, this._textEntry);
|
||||
this._entry = this._textEntry;
|
||||
}
|
||||
this._capsLockWarningLabel.visible = secret;
|
||||
this._capsLockWarningLabel.opacity = secret ? 0 : 255;
|
||||
}
|
||||
|
||||
_onAskQuestion(verifier, serviceName, question, secret) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue