Panel sprite scale question #3099
Unanswered
olsonpm
asked this question in
Technical questions about the codebase
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using setScale, I expected my panel sprite to expand based off the instance's height and width, not the texture's.
Is this a bug ? And if not, what's the use-case for setting the scale of the texture rather than the instance ?
related source
Here's a diff with an implementation that makes sense to me.
Beta Was this translation helpful? Give feedback.
All reactions