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. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||