If you have an IMouseAction registered for single click, and an IMouseAction for double click, it can happen that the single click action is triggered twice.
It happens in the following scenario:
mouse down
mouse up
slight movement after the mouse up
The single click action is triggered in the DragModeEventHandler#mouseUp(), then the mode is switched to the MouseModeEventHandler where the single click action is triggered again in mouseMove().
If you have an
IMouseAction
registered for single click, and anIMouseAction
for double click, it can happen that the single click action is triggered twice.It happens in the following scenario:
The single click action is triggered in the
DragModeEventHandler#mouseUp()
, then the mode is switched to theMouseModeEventHandler
where the single click action is triggered again inmouseMove()
.