mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-13 22:02:31 +00:00
Bleed and Slug were selectable from the toolbar, the View menu and `view.screenMode`, and were stored, but the canvas only ever asked whether the mode was Preview or Presentation. Both therefore drew exactly what Normal drew: guides, frame edges, the other non-printing marks, and content reaching across the pasteboard. They are preview modes now, and what each spread shows reaches out to its box: the bleed for Bleed, the bleed and the slug for Slug (Slug shows every printing element, and a slug narrower than the bleed does not pull the edge back in). Preview and Presentation still stop at the trim. The slug guide was never drawn either, so the Slug colour in Preferences › Guides & Pasteboard was stored, exported and round-tripped while nothing read it. It is drawn beside the bleed guide, in that colour. `Spread::bleed_rect`'s body becomes `outset_rect`, which measures either offset from the page edges, with `bleed_rect` and `slug_rect` as its named callers.