mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 00:18:11 +08:00
In the Pen tool, make Space drag the whole manipulator group while dragging a handle (#2416)
* implemented space drag need to handle unwrap + clean snap cache * completed the space drag need to refactor * refactor * small comment changes * formating_fix --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
c0d3eb8072
commit
2bcfe5ea0c
@@ -187,7 +187,7 @@ fn get_grid_intersection(snap_to: DVec2, lines: &[SnappedLine]) -> Option<Snappe
|
||||
best
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Clone, Debug)]
|
||||
pub struct SnapCache {
|
||||
pub manipulators: HashMap<LayerNodeIdentifier, HashSet<PointId, NoHashBuilder>, NoHashBuilder>,
|
||||
pub unselected: Vec<SnapCandidatePoint>,
|
||||
|
||||
Reference in New Issue
Block a user