From e868bf95321b1e69966142a2f95584f2112290f5 Mon Sep 17 00:00:00 2001 From: 0HyperCube <78500760+0HyperCube@users.noreply.github.com> Date: Sun, 14 Jan 2024 00:08:34 +0000 Subject: [PATCH] Fix path tool neighbours for normal snapping (#1570) --- editor/src/messages/tool/common_functionality/shape_editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/src/messages/tool/common_functionality/shape_editor.rs b/editor/src/messages/tool/common_functionality/shape_editor.rs index 2e48a56a..11681f61 100644 --- a/editor/src/messages/tool/common_functionality/shape_editor.rs +++ b/editor/src/messages/tool/common_functionality/shape_editor.rs @@ -102,7 +102,7 @@ impl ShapeState { let mut push_neighbour = |group: ManipulatorGroup| { if !state.is_selected(ManipulatorPointId::new(group.id, SelectedType::Anchor)) { - point.neighbors.push(group.anchor) + point.neighbors.push(to_document.transform_point2(group.anchor)); } }; if handle == SelectedType::Anchor {