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 23:11:04 +01:00
committed by Keavon Chambers
parent 0553cc5100
commit cee1add3a4
6 changed files with 95 additions and 17 deletions

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,
}