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

[Poetry] Don't let scale go past 0 #43742

Merged
merged 1 commit into from Nov 22, 2021
Merged

Conversation

ajpal
Copy link
Contributor

@ajpal ajpal commented Nov 21, 2021

If scale goes negative, the sprite will get bigger but be mirrored. For the shrinking behavior, we don't want this, so just guard against scale < 0 and stay at 0 in that case.

Before
Nov-21-2021 12-34-06

After
Nov-21-2021 12-34-19

@ajpal ajpal requested a review from a team November 21, 2021 20:36
@maddiedierker maddiedierker merged commit 1674384 into staging Nov 22, 2021
@maddiedierker maddiedierker deleted the nov21-shrinking-guard branch November 22, 2021 17:56
snickell pushed a commit that referenced this pull request Feb 3, 2024
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.

None yet

2 participants