Skip to content

Commit

Permalink
fix(*): bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ctank committed Aug 7, 2019
1 parent 73573c5 commit 2778988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/draw/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Draw extends Operation {
if (planeElement && planeElement.length > 0) {
planeElement.forEach((plane, planeIndex) => {
if (plane.id === element.id + '_di') {
const data = clone(element)
const data = cloneJSON(element)
if (element.extensionElements) {
data.extensionElements.values =
element.extensionElements.values || []
Expand All @@ -117,7 +117,7 @@ class Draw extends Operation {
}
elements[element.id] = {
data,
plane: clone(plane)
plane: cloneJSON(plane)
}
}
})
Expand Down

0 comments on commit 2778988

Please sign in to comment.