mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-30 10:16:46 +01:00
The reference tool's exports (and absoluteRenderBounds) take a drop shadow as far as its blur radius, and leave out a layer without any visible paint, effect or children. FigCraft framed shadows at three standard deviations (1.5 x radius) and counted empty placeholders, so a glass button exported 92 px instead of 76 and an illustration with an empty 1448 px box exported at that size. Canvas culling keeps the full reach; only Document::world_export_bounds frames this way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012eBDgsvRwsSRpWeWrzabVY