edemaine / cocreate

Cocreate Shared Whiteboard/Drawing
MIT License
209 stars 27 forks source link

Selecting lower objects #215

Open edemaine opened 1 year ago

edemaine commented 1 year ago

I had an idea for selecting objects/anchors that aren't topmost: right clicking brings up a menu of the objects that are underneath the cursor (with descriptions like "rectangle" with text in the appropriate color; or perhaps it's a visual icon identical to the mouse cursor icon). As you move your cursor over the items in the list, the corresponding object highlights. (This will require the list to be somewhat offset from the click point.) Then you can click or shift-click on that menu item, and it's as if you clicked on the corresponding object.

This is in conflict with #66 so we should think about which we want more. Or perhaps they could co-exist, with #66 only triggering when right clicking on blank space.