dispatchContextMenu() stores the cursor position before displaying a menu, so the tools use the original cursor position when processing events (instead of the mouse position pointing to a menu entry). Later, the previous position has to be restored, but if in the meantime the tool was cancelled - previous settings were restored to a wrong tool. |
||
---|---|---|
.. | ||
examples | ||
action_manager.h | ||
actions.h | ||
common_tools.h | ||
context_menu.h | ||
coroutine.h | ||
tool_action.h | ||
tool_base.h | ||
tool_dispatcher.h | ||
tool_event.h | ||
tool_interactive.h | ||
tool_manager.h | ||
tool_settings.h |