Skip to content

Commit

Permalink
fixed clip content in frames (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenadros authored Apr 19, 2024
1 parent f469fc1 commit 44d691e
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 44d691e

Please sign in to comment.