From 49645f8a0d93f9bb0cc724915c750346f057a327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 3 May 2011 09:34:07 +0100 Subject: [PATCH] Do not use short-forms and syntax magic in core API. --- src/item/Item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index d570ed9e..4190a0c8 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -733,7 +733,7 @@ var Item = this.Item = Base.extend({ // Floor the offset and ceil the size, so we don't cut off any // antialiased pixels when drawing onto the temporary canvas. var itemOffset = bounds.getTopLeft().floor(), - size = bounds.getSize().ceil().add(1, 1); + size = bounds.getSize().ceil().add(new Size(1, 1)); tempCanvas = CanvasProvider.getCanvas(size); // Save the parent context, so we can draw onto it later