Fix note placement being offset

This commit is contained in:
smoogipoo 2019-10-03 18:21:36 +09:00
parent ee34c5ccb4
commit 754fbc59e1
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ protected double TimeAt(Vector2 screenSpacePosition)
// If we're scrolling downwards, a position of 0 is actually further away from the hit target
// so we need to flip the vertical coordinate in the hitobject container's space
var hitObjectPos = Column.HitObjectContainer.ToLocalSpace(applyPositionOffset(screenSpacePosition, false)).Y;
var hitObjectPos = applyPositionOffset(Column.HitObjectContainer.ToLocalSpace(screenSpacePosition), false).Y;
if (scrollingInfo.Direction.Value == ScrollingDirection.Down)
hitObjectPos = hitObjectContainer.DrawHeight - hitObjectPos;