Merge branch 'V7-preview' of https://github.com/OptimistikSAS/svgedit into issues/46

This commit is contained in:
Agriya Dev5
2021-02-05 20:23:38 +05:30
299 changed files with 2111 additions and 29709 deletions

View File

@@ -10,9 +10,9 @@ class PaintBox {
constructor (container, type) {
// set up gradients to be used for the buttons
const svgdocbox = new DOMParser().parseFromString(
`<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22">
`<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14">
<rect
fill="#000000" opacity="1" width="22" height="22"/>
fill="#000000" opacity="1" width="14" height="14"/>
<defs><linearGradient id="gradbox_${PaintBox.ctr++}"/></defs>
</svg>`,
'text/xml'