From 0305c91e8ce8ce0746f9ff4b2edf05b3b4be54d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 28 Feb 2011 20:21:21 +0100 Subject: [PATCH] Change array format. --- src/item/Raster.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/item/Raster.js b/src/item/Raster.js index 94cb4019..33cbfb99 100644 --- a/src/item/Raster.js +++ b/src/item/Raster.js @@ -162,11 +162,11 @@ Raster = Item.extend({ var x = -width / 2; var y = -height / 2; var coords = [ - x, y, - x + width, y, - x + width, y + height, - x, y + height]; - this.matrix.preConcatenate(matrix); + x, y, + x + width, y, + x + width, y + height, + x, y + height + ]; this.matrix.transform(coords, 0, coords, 0, 4); var xMin = coords[0], xMax = coords[0];