mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-17 07:35:07 +00:00
A frame with items pasted into it (how a document from InDesign keeps a cropped photo) was hit through its children like a group, so the whole uncropped image counted: a click on the empty page beside such a photo selected it, and nothing could be deselected there. It is now hit by its own area, as it is drawn clipped. Such a frame holding only graphics also takes a placed or dropped graphic (Item::takes_graphic), which fills it as an empty or graphic frame is filled. A document opened with new objects going to its top layer even when that layer was hidden and locked (a dieline), so a placed graphic showed as an empty frame outline. It now opens on the topmost layer that is shown and unlocked (Document::working_layer).