You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you look carefully at the above example, you can see that the cats are actually masked differently in the tiles than in the game hexgrid, which I think is counter to expectations.
I think there might be two issues / concerns here:
pass on the correct hexagon size to pattern and image
It appears that the sizing of patterns and images always defaults to this:
even when the hexagons in question have, say, size
8 8
, as is the case in the drag and drop example (tiles) from which I took this code: http://karkk.ai//nen/react-hexgrid/examples/drag-and-drop/If you look carefully at the above example, you can see that the cats are actually masked differently in the tiles than in the game hexgrid, which I think is counter to expectations.
I think there might be two issues / concerns here:
viewBox
, which should obviate the need for passing around sizes, as in: https://stackoverflow.com/posts/22886596The text was updated successfully, but these errors were encountered: