Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tools.js's TOOL_RECTANGLE so that rectangles have sharp edges,…
… working around weirdness in latest Firefox As discussed in #326, the drawing of rectangles show a blurred/anti-aliased edge in the recent versions of Firefox. This change restores sharp edges in Firefox. The change is modeled after how the existing code handles the degenerate case of drawing the rectangle (when the rectangle is either not as tall or not as wide as double the rectangle line width), but this version just draws four rectangles, one for each side.
- Loading branch information