-
Notifications
You must be signed in to change notification settings - Fork 24
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
getBoundingRect returns incorrect Rect when Node has been flipped / reversed #64
Comments
@oisinlavery Hey. Can you provide a link to the file with the problem? |
Hey Andre, sure thing: "G - flipped" and "Red - not flipped" should have the same bounding rect but the y values are not the same. |
I don't know how to fix it yet ( |
Do you think it's a trigonometry issue or a Figma data issue? |
Trigonometry. I seem to have figured out what to do. |
sweet, I'll test it out first thing tomorrow. |
I can confirm that this is working well now. Thanks for fixing so quickly Andreslav. |
The containing FrameNode is at [0,0]
The TextNode is reversed and getBoundingRect incorrectly reports y = 42
The text was updated successfully, but these errors were encountered: