diff --git a/src/vs/workbench/contrib/timeline/browser/timelinePane.ts b/src/vs/workbench/contrib/timeline/browser/timelinePane.ts index dd95ebd9a0991cb5231ac88c860c821193b981e9..a34cc3452723afc8d94a576924446e09802c8932 100644 --- a/src/vs/workbench/contrib/timeline/browser/timelinePane.ts +++ b/src/vs/workbench/contrib/timeline/browser/timelinePane.ts @@ -776,12 +776,14 @@ export class TimelinePane extends ViewPane { // Refresh the view on focus to update the relative timestamps this.onDidFocus(() => this.refreshDebounced(), this, this.visibilityDisposables); + super.setVisible(visible); + this.onActiveEditorChanged(); } else { this.visibilityDisposables?.dispose(); - } - super.setVisible(visible); + super.setVisible(visible); + } } protected layoutBody(height: number, width: number): void {