提交 23cfe8c2 编写于 作者: C Christof Marti

canSelectMany can be undefined (#51824)

上级 200d30e4
......@@ -592,7 +592,7 @@ class QuickPick<T extends IQuickPickItem> extends QuickInput implements IQuickPi
this.ui.list.focus('First');
}
}
if (this.ui.container.classList.contains('show-checkboxes') !== this.canSelectMany) {
if (this.ui.container.classList.contains('show-checkboxes') !== !!this.canSelectMany) {
if (this.canSelectMany) {
this.ui.list.clearFocus();
} else if (!this.ui.isScreenReaderOptimized()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册