mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -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();
|
||||
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();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue