1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Revert rename of lambda variables

This commit is contained in:
Robin Avery 2021-06-11 06:22:24 -04:00
parent 10b6b72909
commit a506f2a776
No known key found for this signature in database
GPG Key ID: 0496DF10CEF7E226

View File

@ -186,14 +186,14 @@ namespace osu.Game.Skinning.Editor
yield return new OsuMenuItem("Anchor")
{
Items = createAnchorItems((i, a) => i.UsesFixedAnchor && ((Drawable)i).Anchor == a, applyFixedAnchors)
Items = createAnchorItems((d, a) => d.UsesFixedAnchor && ((Drawable)d).Anchor == a, applyFixedAnchors)
.Prepend(closestItem)
.ToArray()
};
yield return new OsuMenuItem("Origin")
{
Items = createAnchorItems((i, o) => ((Drawable)i).Origin == o, applyOrigins).ToArray()
Items = createAnchorItems((d, o) => ((Drawable)d).Origin == o, applyOrigins).ToArray()
};
foreach (var item in base.GetContextMenuItemsForSelection(selection))