music-inpainting-ts
music-inpainting-ts copied to clipboard
Implement cancelCurrentInteraction in NONOTO
Issue
The cancelCurrentInteraction is currently unimplemented in SheetInpainterGraphicalView.
Comment
This is not trivial with the current layout, which listens to 'click'
events on the individual overlay boxes.
Idea
Ideally, should refactor SheetInpainterGraphicalView to listen to the click-drag selection interaction on the container, allowing to cancel an interaction at the container level.
We should then toggle/untoggle the underlying boxes on 'pointerenter'/'pointerleave'
similarly to the SpectrogramInpainterGraphicalView.
This would have the additional benefit of enabling multi-box selections.