Skip to content
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

fix object.Level during nested layout #1574

Merged
merged 8 commits into from
Sep 6, 2023

Conversation

gavin-ts
Copy link
Contributor

@gavin-ts gavin-ts commented Sep 6, 2023

Summary

Fixes an issue that was causing TALA to set incorrect font sizes on shapes when they were in a grid that was several shapes deep.
When running TALA to layout each grid cell, the reported object Level would be relative to the grid instead of the root.

Details

emulated issue

Screen Shot 2023-09-05 at 7 12 22 PM

result with fix of ensuring dimensions are updated with font size (emulated bug1 fix)

Screen Shot 2023-09-05 at 7 04 02 PM

result with fix of providing the correct level (bug2 fixed)

Screen Shot 2023-09-05 at 7 04 33 PM

@gavin-ts gavin-ts marked this pull request as ready for review September 6, 2023 02:17
@gavin-ts gavin-ts merged commit cb0c19f into terrastruct:master Sep 6, 2023
2 checks passed
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.

grid labels in TALA are offset
2 participants