dndplayer / dnd-player

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

Add Box drag to select multiple objects #45

Open chrisella opened 5 years ago

chrisella commented 5 years ago

The selection mechanism was originally planned to support multiple items I.E. The selected item in the state is an array, just only 1 item currently.

Getting this in is somewhat crucial to helping the DM quickly move multiple things AND flag properties of multiple things.

The actual visual of the dragging should be fairly easy:

sounds simple ... :)

chrisella commented 5 years ago

This needs to ABS the rectangle that's generated, so we can handle negative dragged boxes I.E. Left / Up