octue / planex-site

The octue website front end
https://planex-site.vercel.app
0 stars 0 forks source link

Hexagons have inconsistent stroke widths #61

Closed thclark closed 3 years ago

thclark commented 3 years ago

Bug report

What is the current behavior?

Hexagons are successfully rendered with strokes, however, the method used overlays a clipped image onto a slightly larger clipped solid fill, resulting in the following effect where some parts of the "stroke" are wider than others:

Screenshot 2021-07-23 at 09 54 31

What is the expected behavior?

Uniform stroke width around the hexagons.

Suggested approach

Perhaps instead of using a solid white background, use a stroke path with a 2px width, placed in front of the image, which will mask the fact that the image scales slightly differently to the SVG object