Reputation: 2301
Running into what appear to be rounding errors when drawing tile data with canvas, just to illustrate the point boiled it down to the minimal reproducible example. Basically the draw call is using the source rectangle of (0, 0, 32, 32), which is the grid in the illustration. But Firefox grabs a sliver more, sampling past the source rectangle.
Top section is Firefox, bottom Section is Google Chrome
Ideas?
Upvotes: 1
Views: 395
Reputation: 43052
false
crisp-edges
.Upvotes: 1