提交 cbd414ba 编写于 作者: M Matt Bierner

Don't force refresh the markdown preview's html when changing the active document

上级 979e2b03
...@@ -223,7 +223,7 @@ export class DynamicMarkdownPreview extends Disposable { ...@@ -223,7 +223,7 @@ export class DynamicMarkdownPreview extends Disposable {
this._register(vscode.window.onDidChangeActiveTextEditor(editor => { this._register(vscode.window.onDidChangeActiveTextEditor(editor => {
if (editor && isMarkdownFile(editor.document) && !this._locked) { if (editor && isMarkdownFile(editor.document) && !this._locked) {
this.update(editor.document.uri); this.update(editor.document.uri, false);
} }
})); }));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册