Carroted / ulvs-graphics

MIT License
0 stars 1 forks source link

panning rebind #7

Open ShadowLp174 opened 1 year ago

ShadowLp174 commented 1 year ago

pan around with right click to allow drawing with left click

https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events#determining_button_states

ShadowLp174 commented 1 year ago

panning rebound to right mouse button (or barrel button on pens)

ShadowLp174 commented 1 year ago

added selection visuals to left mouse button (selecting is wip)

ShadowLp174 commented 1 year ago

TODO: add middle click panning

Edit: Done

ShadowLp174 commented 1 year ago

TODO: add panning when clicking node bodies (if possible)

Edit: Implemented (middle click panning)

ShadowLp174 commented 1 year ago

TODO: Finish selecting/outlines