提交 838348c5 编写于 作者: E Eric Amodio

Ensures visible state is updated before updating

上级 a096bae3
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册