mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
Fix note placement being offset
This commit is contained in:
@ -86,7 +86,7 @@ namespace osu.Game.Rulesets.Mania.Edit.Blueprints
|
|||||||
|
|
||||||
// If we're scrolling downwards, a position of 0 is actually further away from the hit target
|
// 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
|
// 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)
|
if (scrollingInfo.Direction.Value == ScrollingDirection.Down)
|
||||||
hitObjectPos = hitObjectContainer.DrawHeight - hitObjectPos;
|
hitObjectPos = hitObjectContainer.DrawHeight - hitObjectPos;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user