sourceRectAtTime().height not updating when layer scale is adjusted
- August 18, 2020
- 2 replies
- 4547 views
Hello,
This topic has been confusing me so much over the past few days... Essentially, I'm trying to make a graphic where I have one text box on top and one separate text box below. I would like the bottom text to stay aligned to the bottom of the top text (using sourceRectAtTime and height).
The issue: When I scale the top text box, the .sourceRectAtTime().height property does not adjust hence eliminating the bottom text from making proper position updates. For example, in the photo below, when I scale the red null that the text is attached to which increases the text box height, the pink null below does not recognize that scale and does not move.

I've tried numerous solutions and have dug through all sorts of community forms to no avail. Any help would be wonderful.
Thanks,
Kyle
