From 347d02bfa100d4f2f93df0d9bf6570e352a2a3e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 24 Dec 2012 16:45:02 +0100 Subject: [PATCH] Fix issue in item bounds test. Translating a Group does not change the bounds of its children. --- test/tests/Item_Bounds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/Item_Bounds.js b/test/tests/Item_Bounds.js index f6953623..57f609ff 100644 --- a/test/tests/Item_Bounds.js +++ b/test/tests/Item_Bounds.js @@ -57,5 +57,5 @@ test('path.bounds when contained in a transformed group', function() { var group = new Group([path]); compareRectangles(path.bounds, { x: 10, y: 10, width: 50, height: 50 }, 'path.bounds before group translation'); group.translate(100, 100); - compareRectangles(path.bounds, { x: 110, y: 110, width: 50, height: 50 }, 'path.bounds after group translation'); + compareRectangles(path.bounds, { x: 10, y: 10, width: 50, height: 50 }, 'path.bounds after group translation'); }); \ No newline at end of file