mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 02:58:13 +08:00
Fix path tool neighbours for normal snapping (#1570)
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user