Repository navigation
v0.1.17
Canvas editing respects locks and zoom limits, with faster undo and cached containment.
New
CanvasEditor::take_eventslets headless callers drain pending events and release retained changes; the view drains them automatically.
Changed
- Undo batches are built in linear time without repeated vector prepends, preserving undo and redo order.
- Rendering and gestures reuse containment indexes for the document and preview, invalidated by edits, measurements and kind changes. Container depths are memoized, including cycles.
CanvasEditor::selectedfinds the primary selection without allocating a temporary vector.
Fixed
- Zero or negative snap grid spacing paints no dots instead of hanging rendering.
- Dragging a selection leaves nodes that disallow dragging stationary and selected.
fitandzoom_to_selectionrespect both configured zoom limits.