Leave the pattern tile edge and swatch bounds out of exports (#3261)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
HEOJUNFO
2026-10-21 15:20:16 +07:00
committed by bflatastic
co-authored by Claude Opus 5.5
parent 97d133d9d4
commit 5569ae97a6
2 changed files with 18 additions and 0 deletions
+5
View File
@@ -319,6 +319,11 @@ impl Renderer {
});
}
self.draw_arc(ctx, f, layer);
// The tile edge and swatch bounds are editing aids: exports and thumbnails leave them out,
// as they do guides (#3261).
if f.opts.skip_templates {
return true;
}
let [r, g, b] = f.opts.tile_edge;
if def.show_tile_edge {
self.hairline(ctx, f, &def.tile.to_path(0.1), [r, g, b, 255]);