refactor(selection): keep node selection on right click #2733

This commit is contained in:
moklick
2023-01-11 14:55:02 +01:00
parent ca61c7f94e
commit f43c7eba55
@@ -191,6 +191,9 @@ const Pane = memo(
};
const onMouseUp = (event: ReactMouseEvent) => {
if (event.button !== 0) {
return;
}
const { userSelectionRect } = store.getState();
// We only want to trigger click functions when in selection mode if
// the user did not move the mouse.