Is it possible to add new events such as right click in the viewer? I am asking this as I don’t seem to be able to distinguish between click and dblclick events in the viewer, at least on my mac.
Is it possible to add new events such as right click in the viewer?
The place to look at to answer this question is InteractionEvents. And the answer is no, right now. Reason: We currently explicitly filter for left-click events and discard all others.
I am asking this as I don’t seem to be able to distinguish between click and dblclick events in the viewer, at least on my mac.
What did you try? Both click and dblclick are events being emitted by InteractionEvents.
What I mean by not being able to distinguish between click and dblclick
events in the viewer is that if I am listening for both only click events
get reacted to.