Fix path tool neighbours for normal snapping (#1570)

This commit is contained in:
0HyperCube 2024-01-14 00:08:34 +00:00 committed by GitHub
parent 47b3355950
commit e868bf9532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ impl ShapeState {
let mut push_neighbour = |group: ManipulatorGroup<ManipulatorGroupId>| { let mut push_neighbour = |group: ManipulatorGroup<ManipulatorGroupId>| {
if !state.is_selected(ManipulatorPointId::new(group.id, SelectedType::Anchor)) { 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 { if handle == SelectedType::Anchor {