Break handle of path being drawn by placing anchor on previous anchor with Pen tool (#814)

* Break path by placing anchor on previous one

* Fix offset on click without dragging

* Fix bug where ids reassigned from saved document

* Fix stuck overlay

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0HyperCube
2022-10-24 19:35:48 -07:00
committed by Keavon Chambers
co-authored by Keavon Chambers
parent 74b2737f1f
commit d44e7ff925
6 changed files with 95 additions and 17 deletions
-1
View File
@@ -21,7 +21,6 @@ pub struct IdBackedVec<T> {
/// The IDs of the [Elements] contained within this
element_ids: Vec<ElementId>,
/// The ID that will be assigned to the next element that is added to this
#[serde(skip)]
next_id: ElementId,
}