mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-10 04:22:34 +00:00
* An item a parent overrode and deleted is gone from the pages that use it (#1469) In InDesign, removing an inherited item from a parent page means overriding it there and deleting the override: the parent's page keeps the item in its override list with no copy of its own. Only the page being drawn was checked, so the pages that use that parent still drew the base's item -- a signature block from parent B over the notice text of every page using parent E. The override lists of the whole parent chain are checked, not just the page's own. An override always names an item of a parent further back, so one set covers the chain. Rebased onto the post-split main: the parent-item loop moved from render's lib.rs to draw.rs and the tests to tests.rs. One thing this does not touch: blendspace.rs checks `page.overridden` the same way in two places, for deciding which spreads hold transparency. A deleted override there would count an absent item as present, which can only cost an unnecessary flatten rather than draw the wrong thing, so it is left for a maintainer to judge rather than widened into this fix. * Parent items: one set of overridden items for drawing, PDF and PPTX export, hit-testing, snapping and frame edges * Override All: an item a parent removed is not brought back as a copy