Revert "Fix: New md file scrolls to Top. (#164999)" (#168224)

This reverts commit 54543cf5bf.
This commit is contained in:
Matt Bierner
2022-12-06 13:50:30 -08:00
committed by GitHub
parent 94acd2c085
commit ac88f33e2c
2 changed files with 3 additions and 5 deletions

View File

@@ -755,8 +755,6 @@ export class DynamicMarkdownPreview extends Disposable implements IManagedMarkdo
default:
return;
}
} else if (!scrollLocation) {
scrollLocation = new StartingScrollLine(0);
}
this._preview.dispose();