mirror of
https://github.com/ppy/osu
synced 2025-02-25 23:21:26 +00:00
Fix hold note blueprint placing in the wrong direction
This commit is contained in:
parent
39369620fa
commit
f1ff22cf8b
@ -103,6 +103,9 @@ namespace osu.Game.Rulesets.Mania.Edit.Blueprints
|
|||||||
scrollingInfo.TimeRange.Value,
|
scrollingInfo.TimeRange.Value,
|
||||||
Column.HitObjectContainer.DrawHeight);
|
Column.HitObjectContainer.DrawHeight);
|
||||||
|
|
||||||
|
if (scrollingInfo.Direction.Value == ScrollingDirection.Down)
|
||||||
|
pos = Column.HitObjectContainer.DrawHeight - pos;
|
||||||
|
|
||||||
return applyPositionOffset(Column.HitObjectContainer.ToSpaceOfOtherDrawable(new Vector2(0, pos), Parent), true).Y;
|
return applyPositionOffset(Column.HitObjectContainer.ToSpaceOfOtherDrawable(new Vector2(0, pos), Parent), true).Y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user