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:
parent
2c88e6df8d
commit
d212918d67
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user