var
Hide()
As reported at https://github.com/ppy/osu/discussions/14850#discussioncomment-1399382.
Just going with the simplest way to solve this. Closes https://github.com/ppy/osu/issues/14769.
GlobalAction.Back
Fix skin elements flipping when scaled below zero
drawable.ScreenSpaceDrawQuad
getOriginPositionFromQuad
getTieredComponent
getAnchorFromPosition
Also rename parameter `component` to `xOrY`.
applyOrigins
applyCustomAnchors
applyFixedAnchors
UsesFixedAnchor
applyClosestAnchor
checkAndApplyClosestAnchor
applyAnchor
Methods which operate on a collection of `ISkinnableDrawable`s are now plural; ones which take a single item are singular. This also allows cutting down the name of `getClosestAnchorForDrawable` to just `getClosestAnchor`.
updateDrawableAnchorIfUsingClosest
OverridesClosestAnchor
applyCustomAnchor
The file has been restructured and reworded such that there are as few differences as possible from b36b40cb34.
b36b40cb34
It is now "OverridesClosestAnchor". The logic is inverted accordingly.
It is replaced with ISkinnableDrawable.UsingClosestAnchor.
Also rename "IsUsingClosestAnchor" to simply "UsingClosestAnchor".
This is now a global lookup to be shared by serialization and editor.
- Resolves ppy/osu#13252 - Add localisation strings for the context menu instead of using enum
Some skinnable drawables can have 0 width or height in certain cases, leading to division by 0 and a crash when the position is updated.
Add proper scaling support to skin editor