[Request] Ability to remove/detach MultiMask nodes
Describe the feature or enhancement you're looking for When creating a MultiMask, any node you create is not removable. You can reposition it or stack it on top of another node, but you can't get rid of it without deleting the entire mask for that page. Additionally, if two pages are attached to each other via a node, there is no way to detach those pages without deleting one of their masks. It would be nice to have some way to remove nodes - perhaps by right clicking them?
It's true, the editing capabilities are pretty rudimentary for masks. I had figured that just fully deleting the mask would get us pretty far (it has!) because it's pretty easy to recreate one, but I'm glad you brought this up because it really should be added.
I'm thinking a workflow like this may be a good approach:
- right-click a point (or, enable a "delete" mode with a switch or something)
- click anywhere on the layer whose duplicate of that point you want to remove
- the point is removed from that mask and all other content remains unchanged.
Does that seem like a good approach?
Ok, well it turned out that all along, holding Alt and clicking would remove points as a default behavior with the OpenLayers Modify interaction I was using. Completely didn't realize that until yesterday when I went to try adding this behavior while working on other parts of the interface.
I've altered the default behavior a bit so that instead of alt it uses the control/command key. This because hitting alt in browsers can open the top nav menu, so control seemed like a better option.
Because shared nodes are automatically deleted from both masks in this case, it's not as nuanced of an approach as what I described above, but it's much simpler in the codebase and the simplicity is well worth it.