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

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)
{