With an SVG source file open, and previewing turned on, the following is an infinite-preview-opening-loop:
open .SVG source file => preview automatically opens
close preview => focus goes to previous tab, which is the SVG file => preview automatically opens
Instead, the plugin should remember that the user explicitly just closed a particular preview, and not to automatically reopen the same thing that just got closed.
With an SVG source file open, and previewing turned on, the following is an infinite-preview-opening-loop:
Instead, the plugin should remember that the user explicitly just closed a particular preview, and not to automatically reopen the same thing that just got closed.