Merge pull request #10745 from dotCooCoo/fix/main-see-all-points-result

Main: removeAll on a clipping path passes on a stale-point error
This commit is contained in:
.CooCoo authored and GitHub committed 2026-12-03 08:46:49 -08:00
commit 71feb45ef1
1 file changed
+1 -1
+1 -1
View File
@@ -2863,7 +2863,7 @@ fn item_remove(h: &Host, a: &[Data]) -> Answer {
}
// A compound path whose last path this is stays, empty, as it does after `move`.
let params = json!({"ids": [item.id.0], "keepEmpty": true});
paths::see_all_points(h);
paths::see_all_points(h)?;
let kept = h.dom.editing.replace(Some(item));
let r = atomically(h, |h| on_doc(h, item.doc.uid, true, |h| clear_releasing(h, &released, &params)));
h.dom.editing.set(kept);