mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Add comment explaining why origin is flipped
This commit is contained in:
parent
00ed699340
commit
22337e0fc7
@ -93,8 +93,9 @@ namespace osu.Game.Skinning
|
|||||||
if (hitError2 != null)
|
if (hitError2 != null)
|
||||||
{
|
{
|
||||||
hitError2.Anchor = Anchor.CentreRight;
|
hitError2.Anchor = Anchor.CentreRight;
|
||||||
hitError2.Origin = Anchor.CentreLeft;
|
|
||||||
hitError2.Scale = new Vector2(-1, 1);
|
hitError2.Scale = new Vector2(-1, 1);
|
||||||
|
// origin flipped to match scale above.
|
||||||
|
hitError2.Origin = Anchor.CentreLeft;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user