Commit Graph

6 Commits (ae243ce906a5917a990788399fbdb7b611f541da)

Author SHA1 Message Date
cg-scorpio ae243ce906
Code securisation (#843)
* Fix: securize convertToGroup method when manipulate element with no transform attribute
* Fix: securise getIntersectionListMethod method when manipulate element with no bbox (for example : defs element)
* Fix: securise resize method when there is no bbox (for example : defs element)
* Fix: securise recalculateDimensions to avoid to pass null to addSubCommand
2022-10-26 15:38:54 +02:00
cg-scorpio 8350b97875
Enhancement: add a parameter to the importSvgString function in order… (#842)
* Enhancement: add a parameter to the importSvgString function in order to permit to decide if the importation should apply a transformation on the imported element or not

* allow user to import SVG preserving the dimension

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2022-10-16 23:30:44 +02:00
cg-scorpio cb2fe733dd
Fix fit to content (#841)
* Fix: avoid to select defs or title as parentElement

* Fix: fix problem when nothing is drawing
2022-10-16 15:43:58 +02:00
cg-scorpio aabd593123
Fix: avoid to select defs or title as parentElement (#840)
* Fix: avoid to select defs or title as parentElement
2022-10-15 17:21:14 +02:00
cg-scorpio e2ad8211a5
Fix: applies the transformation of the parent element in addition to … (#839)
* Fix: applies the transformation of the parent element in addition to that of the selected element

* Fix:  delete debug logs and use a ternary operator
2022-10-14 20:17:49 +02:00
JFH 43bf93968a
separate svgcanvas from svgedit
now you can use directlt svgcanvas. see readme.md

* configure workspaces
* move svgcanvas to packages folder
* move utils to common and paint to svgcanvas
* make svgcanvas a dependency of svgedit
* update deps
* workspaces requires npm 7 at least so the ci needs a new node version
* update github actions to V3
* update snapshots using custom svg exports
* remove unmaintained cypress snapshot plugin
* new github action to add coverage in PR
* Update onpushandpullrequest.yml
* svgcanvas v7.1.6
2022-08-14 15:01:51 +02:00