cssho / vscode-svgviewer

SVG Viewer for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=cssho.vscode-svgviewer
MIT License
67 stars 20 forks source link

Preview fails on macOS with`Cannot add model because it already exists` #52

Open TravisEz13 opened 5 years ago

TravisEz13 commented 5 years ago

Repro

  1. Preview the image (the images doesn't matter, in my experimentation)
  2. It works and opens in a split pane
  3. Drag the preview to the other pane.
  4. the preview disappears with no error.
  5. Try opening the preview again with the same image.

Actual

image

Expected

The preview opens again

cssho commented 5 years ago

@TravisEz13 It may have been fixed in version 2.0.0. Could you confirm it?