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

Fix scale of skin element bounding box #26004

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

DanielPower
Copy link
Contributor

@DanielPower DanielPower commented Dec 21, 2023

This PR introduces the change suggested by @Tom94 here: #25168 (comment)

Testing notes

Tested the following elements:

  • ArgonAccuracyCounter
  • ArgonHealthDisplay
  • BarHitErrorMeter
  • ArgonComboCounter
  • ArgonKeyCounterDisplay
  • ArgonSongProgress
  • ArgonWedgePiece

Tested scaling elements arbitrarily large and small.
Tested rotation and flipping.
Tested group selections.

Reproduction and fix demonstration with hot reload

Screencast_20231221_085141-1.webm

Known Issues

ArgonWedgePiece's bounding box is still incorrect regardless of scaling. This seems to be a separate issue.

@bdach bdach merged commit a7326e3 into ppy:master Dec 21, 2023
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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