From d2869cfd55aa5543d0aa5e9a04947b92bd505fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 26 Dec 2011 11:06:04 +0100 Subject: [PATCH] Cached bounds are no longer LinkedRectangles. --- src/item/Item.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index 460a774c..b13d4da7 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -1849,11 +1849,10 @@ function(name) { // in _bounds and transform each. for (var key in bounds) { var rect = bounds[key]; - // Transform without notifying the item of changes - bounds[key] = matrix._transformBounds(rect, rect, true); // If we have cached 'bounds', update _position again if (key == 'bounds') this._position = rect.getCenter(true); + bounds[key] = matrix._transformBounds(rect, rect); } } else if (position) { // Transform position as well.