mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-20 02:34:37 +01:00
quick input - fix integration tests
This commit is contained in:
@@ -724,7 +724,7 @@ class QuickPick<T extends IQuickPickItem> extends QuickInput implements IQuickPi
|
||||
this._selectedItems = selectedItems as T[];
|
||||
this.onDidChangeSelectionEmitter.fire(selectedItems as T[]);
|
||||
if (selectedItems.length) {
|
||||
this.onDidAcceptEmitter.fire({ inBackground: (event as MouseEvent).button === 1 /* mouse middle click */ });
|
||||
this.onDidAcceptEmitter.fire({ inBackground: event instanceof MouseEvent && event.button === 1 /* mouse middle click */ });
|
||||
}
|
||||
}));
|
||||
this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(checkedItems => {
|
||||
|
||||
Reference in New Issue
Block a user