Closed joseph-olivemultimedia closed 5 years ago
Your title says it happens after the cache. Cached items return their cache's size, and not the dynamic contents not displayed. This is currently a fact-of-life. Since you have to re-cache when the size changes, you might be able to:
uncache()
Hope that helps.
Out of curiousity, do you have a use case for checking the bounds that does not also involve updating the cache? We could potentially add a param to allow bypassing the cache bounds, I'd just like to understand the use case.
Iam building a text scroller with Mask and i cannot get the dynamic text bounds, i saw other solutions in this blog, where setBounds would be a solution. But for the dynamic texts, we cannot set the height without getbounds. I think its a bug.
Im using createjs 1.0 version.