Commit Graph

10 Commits (5682e8c596c9c5800ca63419f55e1228f9efbfee)

Author SHA1 Message Date
JFH 5682e8c596
update react test (#870) 2023-01-09 14:53:00 +01:00
JFH 00a7d61122
Update packages and remove the instrument step (#854)
* several updates
* avoid the instrumented step in tests
2022-11-27 23:01:27 +01:00
pmkrawczyk c0d0db4d7e
Prevent accidental selection move (#848) 2022-11-27 10:28:55 +01:00
pmkrawczyk e08648c8f5
Maintain aspect ratio by default for images (#847) 2022-11-05 19:32:12 +01:00
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