mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
parent
7d3027e43c
commit
261fc99955
|
@ -1166,11 +1166,14 @@ class InputBox extends QuickInput implements IInputBox {
|
|||
if (!this.visible) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.ui.container.classList.remove('hidden-input');
|
||||
const visibilities: Visibilities = {
|
||||
title: !!this.title || !!this.step || !!this.buttons.length,
|
||||
description: !!this.description || !!this.step,
|
||||
inputBox: true, message: true
|
||||
};
|
||||
|
||||
this.ui.setVisibilities(visibilities);
|
||||
super.update();
|
||||
if (this.ui.inputBox.value !== this.value) {
|
||||
|
@ -1186,7 +1189,6 @@ class InputBox extends QuickInput implements IInputBox {
|
|||
if (this.ui.inputBox.password !== this.password) {
|
||||
this.ui.inputBox.password = this.password;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue