From 4ca931f79ed48e59b176bf0691fdd26ba710a53b Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Wed, 30 Oct 2024 17:22:21 +0200 Subject: [PATCH] fix clearing snapping-points --- src/renderer/snap/handlers.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/snap/handlers.cljs b/src/renderer/snap/handlers.cljs index 5ca4d2c7..82571baf 100644 --- a/src/renderer/snap/handlers.cljs +++ b/src/renderer/snap/handlers.cljs @@ -61,7 +61,7 @@ (assoc db :snapping-points points :kd-tree (create-tree points viewbox))) - (dissoc db :kd-tree))) + (dissoc db :kd-tree :snapping-points))) (m/=> nearest-delta [:-> App Vec2D]) (defn nearest-delta