mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
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:
1 file changed
+1
-1
@@ -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, ¶ms)));
|
||||
h.dom.editing.set(kept);
|
||||
|
||||
Reference in new issue
Block a user