From 7ca9819e13ece41cdf56155076f97fbb828cc0bb Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Fri, 1 Mar 2024 19:13:29 +0100 Subject: [PATCH] when locating polygon point to be dragged select first found if there are overlaping points --- src/callback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/callback.c b/src/callback.c index 474381c8..66259476 100644 --- a/src/callback.c +++ b/src/callback.c @@ -3164,6 +3164,7 @@ int rstate; /* (reduced state, without ShiftMask) */ dbg(1, "selecting point %d\n", i); xctx->poly[polygon_c][polygon_n].selected_point[i] = 1; xctx->poly_point_selected = 1; + break; } } if(xctx->poly_point_selected) {