mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
Rename overly long method
This commit is contained in:
parent
888882ac63
commit
6a456e53f4
@ -331,7 +331,7 @@ namespace osu.Game.Skinning.Editor
|
||||
{
|
||||
var drawable = (Drawable)item;
|
||||
|
||||
var anchor = getAnchorFromHashAndDrawableAndRecordWhetherUsingClosestAnchor(hash, drawable);
|
||||
var anchor = mapHashToAnchorSettings(hash, drawable);
|
||||
|
||||
updateDrawableAnchor(drawable, anchor);
|
||||
}
|
||||
@ -344,7 +344,7 @@ namespace osu.Game.Skinning.Editor
|
||||
drawable.Position -= drawable.AnchorPosition - previousAnchor;
|
||||
}
|
||||
|
||||
private Anchor getAnchorFromHashAndDrawableAndRecordWhetherUsingClosestAnchor(int hash, Drawable drawable)
|
||||
private Anchor mapHashToAnchorSettings(int hash, Drawable drawable)
|
||||
{
|
||||
var isUsingClosestAnchor = drawable.UsingClosestAnchor();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user