0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-02-01 12:18:55 -05:00

fixed clip content in frames (#50)

This commit is contained in:
Alex Sánchez 2024-04-19 11:40:50 +02:00 committed by GitHub
parent f469fc1f37
commit 44d691e7c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.