Closed rastogi-bhavya closed 3 years ago
Did the testing, everything worked fine.
Added change to annotation-tool.js
so that, when an anatomy is changed, the cursor
is selected and any existing draw tool is deselected. Doing this makes sure that bug explained in #80 does not occur.
Solution to #68
Made changes to
exportToSVG
ofannotation-svg.js
andannotation-group.js
to make sure that, when no valid content (i.e. empty string) is being returned from there children indicating that no annotation object is present, these function would also return empty string/array. Returning empty ensures that when the user clicks onSave
before actually drawing any annotation, an error will show up.