提交 18bea9c4 编写于 作者: J Joao Moreno

list: respect selectOnMouseDown

上级 59aa58b9
......@@ -385,9 +385,11 @@ class MouseController<T> implements IDisposable {
return;
}
const focus = this.list.getFocus();
this.list.setSelection(focus);
this.list.open(focus);
if (!this.options.selectOnMouseDown) {
const focus = this.list.getFocus();
this.list.setSelection(focus);
this.list.open(focus);
}
}
private onDoubleClick(e: IListMouseEvent<T>): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册