mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 23:18:11 +08:00
Fix Pen tool race condition when drawing handles fast, and stuck overlays (#1283)
* Fix pen tool with async * Fix overlays staying too long * Perhaps fix the transform issue * Fix compile error * Formatting --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Keavon Chambers
parent
4d1c5fc8bf
commit
abd8e7fab6
+1
@@ -276,6 +276,7 @@ impl<'a> VectorModificationState<'a> {
|
||||
}
|
||||
|
||||
fn set_position(&mut self, point: ManipulatorPointId, position: DVec2) {
|
||||
assert!(position.is_finite(), "Point position should be finite");
|
||||
for subpath in self.subpaths.iter_mut() {
|
||||
if let Some(manipulator) = subpath.manipulator_mut_from_id(point.group) {
|
||||
match point.manipulator_type {
|
||||
|
||||
Reference in New Issue
Block a user