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

Reduce inflate effect when scaling an element in Skin Editor #25069

Closed
wants to merge 2 commits into from
Closed

Reduce inflate effect when scaling an element in Skin Editor #25069

wants to merge 2 commits into from

Conversation

madebylydia
Copy link

Fixes #25049.

I am not happy with this proposal. The “problem” remains, but I am unsure which path to go with, considering peppy said that it was an intended effect. (See linked issue)
I was thinking of limiting the inflation after it reaches a maximum inflation (Say 1.2 from original size), and limit the container to that maximum.

Please, let me know what you would see fit best.

This is not really a solution I'm happy with... I believe this require conversation.
@bdach
Copy link
Collaborator

bdach commented Oct 9, 2023

This is not the correct solution, as you've said yourself.

The correct solution likely involves performing the inflation operation in screen space rather than in the local space of the skin component as the current code does.

I am unsure which path to go with, considering peppy said that it was an intended effect.

Re-read what was stated.

  • the pink box being slightly inflated: intentional
  • the amount of inflation dependent on element size: unintended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visual bounding box doesn't match outline of scaled elements in skin editor
2 participants