From 83dd2034c3b65a4bb494f10d5941fe01faf40e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=88rg=20Lehni?= Date: Sun, 28 Dec 2014 19:43:38 +0100 Subject: [PATCH] Fix issue where cloned TextItems get always inserted into the scene graph. Closes #606 --- src/text/TextItem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text/TextItem.js b/src/text/TextItem.js index 2734949c..b3bb88ae 100644 --- a/src/text/TextItem.js +++ b/src/text/TextItem.js @@ -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); }, /**