Skip to content

Commit

Permalink
Fix infinite progress (#49340)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Jun 20, 2018
1 parent b0be57d commit 5d0ec1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/workbench/browser/parts/quickinput/quickInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ class QuickInput implements IQuickInput {
if (this.busy && !this.busyDelay) {
this.busyDelay = TPromise.timeout(800);
this.busyDelay.then(() => {
this.ui.progressBar.infinite();
if (this.visible) {
this.ui.progressBar.infinite();
}
}, () => { /* ignore */ });
}
if (!this.busy && this.busyDelay) {
Expand Down

0 comments on commit 5d0ec1a

Please sign in to comment.