提交 1f6e00a4 编写于 作者: I isidor

debug watch: Ignore double click events on twistie

上级 5c250f3a
...@@ -118,6 +118,11 @@ export class WatchExpressionsView extends ViewletPanel { ...@@ -118,6 +118,11 @@ export class WatchExpressionsView extends ViewletPanel {
} }
private onMouseDblClick(e: ITreeMouseEvent<IExpression>): void { private onMouseDblClick(e: ITreeMouseEvent<IExpression>): void {
if ((e.browserEvent.target as HTMLElement).className.indexOf('twistie') >= 0) {
// Ignore double click events on twistie
return;
}
const element = e.element; const element = e.element;
// double click on primitive value: open input box to be able to select and copy value. // double click on primitive value: open input box to be able to select and copy value.
if (element instanceof Expression) { if (element instanceof Expression) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册