Final codex re-review CONCERN: `commit_layer_drag` was relying on `Document::reorder_before/after`'s own source-existence check to no-op on a deleted source. Per codex: the commit path should bail explicitly for symmetry with the existing cursor_move + paint guards. Added the same `active_page().find(source).is_none()` check on both native (`widget_host/input.rs`) and web (`widget_host.rs`) at the top of `commit_layer_drag`, right after the `!d.active` early-out. No behavior change in the safe path (reorder still happens), but short-circuits the drop_target_at + dispatch when the source is gone. |
||
|---|---|---|
| .. | ||
| openpencil-app | ||
| openpencil-desktop | ||
| openpencil-shell-core | ||
| openpencil-shell-native | ||
| openpencil-shell-web | ||
| pen-codegen | ||
| pen-core | ||
| pen-engine | ||
| pen-figma | ||
| pen-types | ||
| wasm-libc-shim | ||
| CLAUDE.md | ||