mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 14:12:55 +08:00
Rename applyAnchor
to applyCustomAnchor
This commit is contained in:
parent
6c9594ee35
commit
65f594f860
@ -193,7 +193,7 @@ namespace osu.Game.Skinning.Editor
|
||||
|
||||
yield return new OsuMenuItem("Anchor")
|
||||
{
|
||||
Items = createAnchorItems((i, a) => i.OverridesClosestAnchor && ((Drawable)i).Anchor == a, applyAnchor)
|
||||
Items = createAnchorItems((i, a) => i.OverridesClosestAnchor && ((Drawable)i).Anchor == a, applyCustomAnchor)
|
||||
.Prepend(closestItem)
|
||||
.ToArray()
|
||||
};
|
||||
@ -255,7 +255,7 @@ namespace osu.Game.Skinning.Editor
|
||||
private Quad getSelectionQuad() =>
|
||||
GetSurroundingQuad(SelectedBlueprints.SelectMany(b => b.Item.ScreenSpaceDrawQuad.GetVertices().ToArray()));
|
||||
|
||||
private void applyAnchor(Anchor anchor)
|
||||
private void applyCustomAnchor(Anchor anchor)
|
||||
{
|
||||
foreach (var item in SelectedItems)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user