mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix issue where cloned TextItems get always inserted into the scene graph.
Closes #606
This commit is contained in:
parent
16105067bf
commit
83dd2034c3
1 changed files with 2 additions and 2 deletions
|
@ -50,9 +50,9 @@ var TextItem = Item.extend(/** @lends TextItem# */{
|
|||
return this._content === item._content;
|
||||
},
|
||||
|
||||
_clone: function _clone(copy) {
|
||||
_clone: function _clone(copy, insert) {
|
||||
copy.setContent(this._content);
|
||||
return _clone.base.call(this, copy);
|
||||
return _clone.base.call(this, copy, insert);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue