Skip to content

Commit b4577a9

Browse files
committed
fix(pptx): stop calling the appended rect blend group as a function
1 parent d047d0e commit b4577a9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/sim/lib/pptx-renderer/renderer/shape-renderer.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,8 @@ export function renderShape(node: ShapeNodeData, ctx: RenderContext): HTMLElemen
874874

875875
// Insert rect blend group (two linear gradients + lighten) before the main path
876876
if ((path as any).__rectBlendGroup) {
877-
svg.appendChild((path as any).__rectBlendGroup)(path as any).__rectBlendGroup = undefined
877+
svg.appendChild((path as any).__rectBlendGroup)
878+
;(path as any).__rectBlendGroup = undefined
878879
}
879880

880881
svg.appendChild(path)

0 commit comments

Comments
 (0)