dndplayer / dnd-player

An online virtual DND playground to support online groups.
https://dnd-player.com
Other
1 stars 0 forks source link

Make EditablePoly show a midpoint marker between end and start points (when points > 2) #62

Closed chrisella closed 5 years ago

chrisella commented 5 years ago

image

Currently the poly system works with 2 or more points which is good, however once you have 2 or more points (I.E. an actual polygon) it won't show a midpoint currently because there isn't an actual line there, that's just PIXI filling in the poly for us.

It would be nice to have a Midpoint show up between the start and end points once a poly equals or exceeds 3 sides.