提交 5f925714 编写于 作者: I isidor

fixes #67228

上级 94187a8a
......@@ -227,6 +227,10 @@ export class CallStackView extends ViewletPanel {
this.tree.layout(height, width);
}
focus(): void {
this.tree.domFocus();
}
private updateTreeSelection(): void {
if (!this.tree || this.tree.visibleNodeCount === 0) {
// Tree not initialized yet
......
......@@ -121,6 +121,10 @@ export class VariablesView extends ViewletPanel {
this.tree.layout(width, height);
}
focus(): void {
this.tree.domFocus();
}
private onMouseDblClick(e: ITreeMouseEvent<IExpression | IScope>): void {
const session = this.debugService.getViewModel().focusedSession;
if (e.element instanceof Variable && session.capabilities.supportsSetVariable) {
......
......@@ -117,6 +117,10 @@ export class WatchExpressionsView extends ViewletPanel {
this.tree.layout(height, width);
}
focus(): void {
this.tree.domFocus();
}
private onMouseDblClick(e: ITreeMouseEvent<IExpression>): void {
if ((e.browserEvent.target as HTMLElement).className.indexOf('twistie') >= 0) {
// Ignore double click events on twistie
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册