Skip to content

figma-inspector: corrected overwrite of reused modes #8298

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
merged 2 commits into from
Apr 29, 2025

Conversation

szecket
Copy link
Member

@szecket szecket commented Apr 28, 2025

when combining collections, mode3_brush was too ambiguous.
now using _mode3_brush

Copy link
Member

@tronical tronical left a comment

Choose a reason for hiding this comment

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

It's a little scary that in generateStructsAndInstances, the collectionData argument so declared as any, and then passed to collectMultiModeStructs as-is, which is changed in this PR to expect this additional field. It would be worthwhile to also adjust the signature of generateStructsAndInstances to maintain type-safety.

@szecket szecket force-pushed the szecket/push-trvokvwlvlyx branch from fb9a4b3 to 49dbe98 Compare April 28, 2025 21:33
@tronical tronical merged commit ee17d56 into slint-ui:master Apr 29, 2025
24 checks passed
@szecket szecket deleted the szecket/push-trvokvwlvlyx branch April 29, 2025 11:31
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