dbankier / vscode-instant-markdown

vscode extension for instant markdown previews
53 stars 23 forks source link

Fixed a bug where extension opens everything (Closes #56) #57

Closed alallier closed 4 years ago

alallier commented 4 years ago

Fixed a bug where if the window initially launches with a markdown file open and the tab is switched to a non-markdown file a new browser tab would still open

Wrapped all open/closing logic in an extensionControl function and make all events call this to wrap the opening and closing logic so that every event checks if a markdown file is open.

This was introduced when I added the scrolling feature in #51.

Closes #56.

dbankier commented 4 years ago

Thank you very much!

Will release it now.