Skip to content

Commit

Permalink
nemazani parametru komponentu
Browse files Browse the repository at this point in the history
  • Loading branch information
psvoboda76 committed Apr 8, 2024
1 parent c9308e6 commit 2f33c9d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svgedit",
"version": "7.3.4",
"version": "7.3.7",
"description": "Powerful SVG-Editor for your browser ",
"main": "dist/Editor.js",
"module": "dist/Editor.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/svgcanvas/core/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ const mouseUpEvent = (evt) => {

// Remove non-scaling stroke
const elem = selectedElements[0]
if (elem) {
if (elem && elem.nodeName !== 'foreignObject') {
elem.removeAttribute('style')
walkTree(elem, (el) => {
el.removeAttribute('style')
Expand Down

0 comments on commit 2f33c9d

Please sign in to comment.