diff --git a/src/views/nodes/fileHistoryTrackerNode.ts b/src/views/nodes/fileHistoryTrackerNode.ts index 749f405..086afb3 100644 --- a/src/views/nodes/fileHistoryTrackerNode.ts +++ b/src/views/nodes/fileHistoryTrackerNode.ts @@ -102,7 +102,7 @@ export class FileHistoryTrackerNode extends SubscribeableViewNode e.document && UriComparer.equals(e.document.uri, this.uri))) + window.visibleTextEditors.some(e => e.document && e.document.uri.path === this.uri.path)) ) { return true; } @@ -116,7 +116,7 @@ export class FileHistoryTrackerNode extends SubscribeableViewNode e.document && UriComparer.equals(e.document.uri, this.uri))) + window.visibleTextEditors.some(e => e.document && e.document.uri.path === this.uri.path)) ) { return true; } @@ -126,7 +126,7 @@ export class LineHistoryTrackerNode extends SubscribeableViewNode