From 825c671660aa24e0f1f09d44ad151baac5a632b4 Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Sat, 2 Mar 2024 16:03:37 +0100 Subject: [PATCH] fix intuitive_interface: selecting other objects with mouse srea select + shift will not start a move operation --- src/callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callback.c b/src/callback.c index 8c6a551a..26fa94a3 100644 --- a/src/callback.c +++ b/src/callback.c @@ -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;