Skip to content

figma-inspector: resolve variables in binding loops that reference their own struct #8264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

szecket
Copy link
Member

@szecket szecket commented Apr 24, 2025

also resolve any variables not in current file

@szecket szecket changed the title resolve variables in binding loops that reference their own struct figma-inspector: resolve variables in binding loops that reference their own struct Apr 24, 2025
const targetType = targetNode?.type || "COLOR";
const slintType = getSlintType(targetType);
const defaultValue =
slintType === "brush"
? "#808080"
? "#FF00FF"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that this is unrelated?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite

@szecket szecket merged commit 502dda6 into slint-ui:feature/figma-variables Apr 25, 2025
24 checks passed
tronical pushed a commit that referenced this pull request Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants