From 441ce8edc865b9c148e730b36ff8e47259b5a7a0 Mon Sep 17 00:00:00 2001 From: xieyuanhu Date: Wed, 7 Aug 2019 19:47:57 +0800 Subject: [PATCH] fix #5819: [debug] Superfluous scrollbars Signed-off-by: xieyuanhu --- packages/debug/src/browser/view/debug-configuration-widget.tsx | 1 + packages/debug/src/browser/view/debug-toolbar-widget.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/debug/src/browser/view/debug-configuration-widget.tsx b/packages/debug/src/browser/view/debug-configuration-widget.tsx index 925599815debf..d6929324cf48e 100644 --- a/packages/debug/src/browser/view/debug-configuration-widget.tsx +++ b/packages/debug/src/browser/view/debug-configuration-widget.tsx @@ -51,6 +51,7 @@ export class DebugConfigurationWidget extends ReactWidget { this.toDispose.push(this.manager.onDidChange(() => this.update())); this.toDispose.push(this.workspaceService.onWorkspaceChanged(() => this.update())); this.toDispose.push(this.workspaceService.onWorkspaceLocationChanged(() => this.update())); + this.scrollOptions = undefined; this.update(); } diff --git a/packages/debug/src/browser/view/debug-toolbar-widget.tsx b/packages/debug/src/browser/view/debug-toolbar-widget.tsx index 94173a51e82c5..b0cafb6b1bbc0 100644 --- a/packages/debug/src/browser/view/debug-toolbar-widget.tsx +++ b/packages/debug/src/browser/view/debug-toolbar-widget.tsx @@ -34,6 +34,7 @@ export class DebugToolBar extends ReactWidget { this.addClass('debug-toolbar'); this.toDispose.push(this.model); this.toDispose.push(this.model.onDidChange(() => this.update())); + this.scrollOptions = undefined; this.update(); }