the-dataface / figma2html

Export Figma frames as responsive HTML and CSS
https://www.figma.com/community/plugin/1109185297790825980/figma2html
MIT License
48 stars 8 forks source link

Fix/text node visibility recursion #98

Closed sawyerclick closed 1 year ago

sawyerclick commented 1 year ago

Finally fix text node visibility. This updates our (!node.visible) to use recursion to track if any ancestor is invisible, as Figma's .visible only shows if a node has been directly hidden. We have to perform recursion to check if an ancestor is hidden

See #97 for a related new bug at a lower priority level

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 3194419f07f05cef75e9c0bf9eca241806313873

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | figma2html | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR