Merge pull request #989 from gianlucafiore/fix/grip-otrack-cleanup

fix(grips): clear OTRACK after typed stretch commit
This commit is contained in:
gianlucafiore authored and GitHub committed 2026-09-03 17:57:39 -03:00
commit e355f524e2
1 file changed
+5
+5
View File
@@ -475,6 +475,11 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task<Message> {
// Distance / Angle fields as well.
self.sync_dyn_fields();
// A typed grip commit bypasses the normal viewport point-release
// tracking cleanup. Drop the consumed OTRACK / Extension guide now
// so no stale tracking ray remains visible after the grip edit.
self.reset_tracking_after_point();
return task;
}
}