Adjust comment

This commit is contained in:
Dan Balasescu 2018-07-19 19:44:06 +09:00 committed by smoogipoo
parent 5dba048c46
commit 824c217a0d
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ protected override void Update()
Position = Parent.ToLocalSpace(HitObject.ScreenSpaceDrawQuad.TopLeft);
// This is a side-effect of not matching the hitobject's anchors/origins, which is kinda hard to do
// When scrolling upwards our origin is at the top of the head note (which is where the origin already is),
// When scrolling upwards our origin is already at the top of the head note (which is the intended location),
// but when scrolling downwards our origin is at the _bottom_ of the tail note (where we need to be at the _top_ of the tail note)
if (direction.Value == ScrollingDirection.Down)
Y -= HitObject.Tail.DrawHeight;