Skip to content

figma-inspector: x and y sometimes return null and until we have layout logic, make these 0 #8263

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

No description provided.

@szecket szecket changed the base branch from master to feature/figma-variables April 24, 2025 15:26
@szecket szecket force-pushed the szecket/push-lxtozolnztwk branch from 025d6e9 to a22cfb5 Compare April 24, 2025 15:51
@szecket szecket requested a review from tronical April 24, 2025 16:05
@szecket
Copy link
Member Author

szecket commented Apr 24, 2025

@tronical it appears I mixed up a little and had started doing some cleanup of sanitizers on this change already...

@tronical
Copy link
Member

Looks like this needs a rebase :)

@szecket szecket force-pushed the szecket/push-lxtozolnztwk branch from 171ae02 to 219fa8a Compare April 28, 2025 14:08
@szecket szecket merged commit 86ea1ee into slint-ui:feature/figma-variables Apr 28, 2025
24 checks passed
@szecket szecket deleted the szecket/push-lxtozolnztwk branch April 28, 2025 14:13
tronical pushed a commit that referenced this pull request Apr 28, 2025
…ve layout logic, make these 0 (#8263)

* rounding was omitting a bunch of x and y positions

* text x and y of 0 need to be checked for explicity otherwise they return null

* clean up comments and console logs
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