Skip to content

Commit

Permalink
Check for deleted defs after paste, fixes #82
Browse files Browse the repository at this point in the history
  • Loading branch information
magnebra committed Mar 14, 2016
1 parent a8ac2bf commit a411911
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/svgcanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -6995,6 +6995,8 @@ this.pasteElements = function(type, x, y) {
pasted.push(copy);
(current_group || getCurrentDrawing().getCurrentLayer()).appendChild(copy);
batchCmd.addSubCommand(new svgedit.history.InsertElementCommand(copy));

restoreRefElems(copy);
}

selectOnly(pasted);
Expand Down

0 comments on commit a411911

Please sign in to comment.