mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Revert "authPrompt: Don't hide the caps lock warning label"
Using the opacity to control the label's visibility doesn't work
correctly, as CapsLockWarning itself changes the opacity when
the caps-lock state changes.
This reverts commit 9f5f6aa9b2.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/2215
This commit is contained in:
parent
5cad5c20e9
commit
41da4b0681
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ var AuthPrompt = GObject.registerClass({
|
|||
this._mainBox.replace_child(this._entry, this._textEntry);
|
||||
this._entry = this._textEntry;
|
||||
}
|
||||
this._capsLockWarningLabel.opacity = secret ? 0 : 255;
|
||||
this._capsLockWarningLabel.visible = secret;
|
||||
}
|
||||
|
||||
_onAskQuestion(verifier, serviceName, question, secret) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue