From bdbbca487f89a8211306e14d2108eb2ec2378ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 4 May 2011 17:44:08 +0100 Subject: [PATCH] Remove rounding in drawSelectedBounds(). --- src/item/Item.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index 4190a0c8..183ab473 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -699,11 +699,7 @@ var Item = this.Item = Base.extend({ ctx.stroke(); for (var i = 0; i < 8; i++) { ctx.beginPath(); - ctx.rect( - Math.round(coords[i]) - 2, - Math.round(coords[++i]) - 2, - 4, 4 - ); + ctx.rect(coords[i] - 2, coords[++i] - 2, 4, 4); ctx.fill(); } },