fix intuitive_interface: selecting other objects with mouse srea select + shift will not start a move operation

This commit is contained in:
Stefan Schippers 2024-03-02 16:03:37 +01:00
parent 77cd3eec56
commit 825c671660
1 changed files with 1 additions and 1 deletions

View File

@ -3240,7 +3240,7 @@ int rstate; /* (reduced state, without ShiftMask) */
/* intuitive interface: directly drag elements */
xctx->drag_elements = 0;
if(xctx->intuitive_interface && xctx->lastsel >= 1 &&
if(sel.type && xctx->intuitive_interface && xctx->lastsel >= 1 &&
!(xctx->lastsel == 1 && xctx->sel_array[0].type==POLYGON) ) {
xctx->drag_elements = 1;