mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 23:23:18 +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")
|
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)
|
.Prepend(closestItem)
|
||||||
.ToArray()
|
.ToArray()
|
||||||
};
|
};
|
||||||
@ -255,7 +255,7 @@ namespace osu.Game.Skinning.Editor
|
|||||||
private Quad getSelectionQuad() =>
|
private Quad getSelectionQuad() =>
|
||||||
GetSurroundingQuad(SelectedBlueprints.SelectMany(b => b.Item.ScreenSpaceDrawQuad.GetVertices().ToArray()));
|
GetSurroundingQuad(SelectedBlueprints.SelectMany(b => b.Item.ScreenSpaceDrawQuad.GetVertices().ToArray()));
|
||||||
|
|
||||||
private void applyAnchor(Anchor anchor)
|
private void applyCustomAnchor(Anchor anchor)
|
||||||
{
|
{
|
||||||
foreach (var item in SelectedItems)
|
foreach (var item in SelectedItems)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user