Fix path tool neighbours for normal snapping (#1570)
This commit is contained in:
parent
47b3355950
commit
e868bf9532
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue