mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Convert positions to local HOC coordinate space
This commit is contained in:
@ -46,9 +46,7 @@ namespace osu.Game.Rulesets.Mania.Edit
|
||||
{
|
||||
var hoc = Playfield.GetColumn(0).HitObjectContainer;
|
||||
|
||||
position.Y -= ToLocalSpace(hoc.ScreenSpaceDrawQuad.TopLeft).Y;
|
||||
|
||||
float targetPosition = position.Y;
|
||||
float targetPosition = hoc.ToLocalSpace(ToScreenSpace(position)).Y;
|
||||
|
||||
if (drawableRuleset.ScrollingInfo.Direction.Value == ScrollingDirection.Down)
|
||||
{
|
||||
|
Reference in New Issue
Block a user