Skip to content

Commit

Permalink
Removing rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Jul 24, 2023
1 parent 42d4d1c commit e9eff22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2121,8 +2121,8 @@ function roundBox(box: Box): void {
if (!roundPoint) {
roundPoint =
userAgentContaints("applewebkit/") && !userAgentContaints("chrome/")
? Math.round
: (point: number) => Math.round(point * 2) / 2
? (point: number) => point
: (point: number) => point
}

roundAxis(box.x)
Expand Down

0 comments on commit e9eff22

Please sign in to comment.