Figma's kiwi format uses FOREGROUND_BLUR for what the Plugin API calls LAYER_BLUR — a blur that applies to the entire layer including children. Previously FOREGROUND_BLUR was handled in the per-effect 'front' pass via applyClippedBlur, which only blurred the node's own fills (drawn before children). For nodes with no fills but with children (like groups), the blur had no visible effect. Now FOREGROUND_BLUR is handled alongside LAYER_BLUR in renderNode, using a saveLayer that wraps both the node content and its children. This fixes gradient blobs that should appear soft/blurred (e.g. the decorative gradients in gold-preview.fig's Preview Thumbnail). |
||
|---|---|---|
| .. | ||
| e2e | ||
| engine | ||
| figma | ||
| fixtures | ||
| helpers | ||