Skip to content

Commit

Permalink
fixed clip content in frames
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenadros committed Apr 19, 2024
1 parent 08473b5 commit 2b924e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin-src/transformers/transformFrameNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const transformFrameNode = async (
return {
type: 'frame',
name: node.name,
showContent: isSectionNode(node) ? true : !node.clipsContent,
...transformFills(node),
// Figma API does not expose strokes for sections,
// they plan to add it in the future. Refactor this when available.
Expand Down

0 comments on commit 2b924e1

Please sign in to comment.