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

Remove redundant parens

This commit is contained in:
smoogipoo 2021-05-13 22:11:58 +09:00
parent d2fdd1e521
commit 4cf4817ad2

View File

@ -124,7 +124,7 @@ namespace osu.Game.Skinning.Editor
{ {
var drawable = (Drawable)item; var drawable = (Drawable)item;
var previousAnchor = (drawable.AnchorPosition); var previousAnchor = drawable.AnchorPosition;
drawable.Anchor = anchor; drawable.Anchor = anchor;
drawable.Position -= drawable.AnchorPosition - previousAnchor; drawable.Position -= drawable.AnchorPosition - previousAnchor;
} }