Fix issue where cloned TextItems get always inserted into the scene graph.

Closes #606
This commit is contained in:
Jürg Lehni 2014-12-28 19:43:38 +01:00
parent 16105067bf
commit 83dd2034c3

View file

@ -50,9 +50,9 @@ var TextItem = Item.extend(/** @lends TextItem# */{
return this._content === item._content; return this._content === item._content;
}, },
_clone: function _clone(copy) { _clone: function _clone(copy, insert) {
copy.setContent(this._content); copy.setContent(this._content);
return _clone.base.call(this, copy); return _clone.base.call(this, copy, insert);
}, },
/** /**