Sets line to avoid diff jumping

This commit is contained in:
Eric Amodio
2017-07-02 22:33:09 -04:00
parent 7fbee675f0
commit 272bb4db45
+1
View File
@@ -33,6 +33,7 @@ export class CommitFileNode extends ExplorerNode {
GitUri.fromFileStatus(this.status, this.commit.repoPath), GitUri.fromFileStatus(this.status, this.commit.repoPath),
{ {
commit: this.commit, commit: this.commit,
line: 0,
showOptions: { showOptions: {
preserveFocus: true, preserveFocus: true,
preview: true preview: true