openpencil/crates/op-pen-loader
Fini 322ae23760 feat(editor): drop an image file onto a node to set its fill
Dropping a png/jpg/webp used to be silently ignored — placing a
screenshot meant importing, dragging into position and matching sizes
by hand. Now a drop resolves the deepest fillable node under the
cursor (walking up past text and icons), writes a cover image fill in
one undo step, and rings the target while hovering so the outcome is
visible before release. Empty-canvas drops insert an image node at the
point; document drops keep their open/import behavior. Drag positions
come from an AppKit probe on macOS; other platforms degrade to a
centered insert.
2026-07-28 00:29:39 +08:00
..
src feat(editor): drop an image file onto a node to set its fill 2026-07-28 00:29:39 +08:00
tests test: decouple document fixtures from product releases 2026-07-15 21:17:20 +08:00
Cargo.toml refactor: dedupe cross-crate code and converge hardcoded literals 2026-07-26 11:24:22 +08:00