1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Rename applyCustomAnchors to applyFixedAnchors for consistency with UsesFixedAnchor

This commit is contained in:
Robin Avery 2021-06-08 10:14:07 -04:00
parent 2c88e6df8d
commit d212918d67
No known key found for this signature in database
GPG Key ID: 0496DF10CEF7E226

View File

@ -186,7 +186,7 @@ namespace osu.Game.Skinning.Editor
yield return new OsuMenuItem("Anchor")
{
Items = createAnchorItems((i, a) => i.UsesFixedAnchor && ((Drawable)i).Anchor == a, applyCustomAnchors)
Items = createAnchorItems((i, a) => i.UsesFixedAnchor && ((Drawable)i).Anchor == a, applyFixedAnchors)
.Prepend(closestItem)
.ToArray()
};
@ -248,7 +248,7 @@ namespace osu.Game.Skinning.Editor
private Quad getSelectionQuad() =>
GetSurroundingQuad(SelectedBlueprints.SelectMany(b => b.Item.ScreenSpaceDrawQuad.GetVertices().ToArray()));
private void applyCustomAnchors(Anchor anchor)
private void applyFixedAnchors(Anchor anchor)
{
foreach (var item in SelectedItems)
{