mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Remove rounding in drawSelectedBounds().
This commit is contained in:
parent
3eb17f2953
commit
bdbbca487f
1 changed files with 1 additions and 5 deletions
|
@ -699,11 +699,7 @@ var Item = this.Item = Base.extend({
|
||||||
ctx.stroke();
|
ctx.stroke();
|
||||||
for (var i = 0; i < 8; i++) {
|
for (var i = 0; i < 8; i++) {
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.rect(
|
ctx.rect(coords[i] - 2, coords[++i] - 2, 4, 4);
|
||||||
Math.round(coords[i]) - 2,
|
|
||||||
Math.round(coords[++i]) - 2,
|
|
||||||
4, 4
|
|
||||||
);
|
|
||||||
ctx.fill();
|
ctx.fill();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue