Remove rounding in drawSelectedBounds().

This commit is contained in:
Jürg Lehni 2011-05-04 17:44:08 +01:00
parent 3eb17f2953
commit bdbbca487f

View file

@ -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();
}
},