Construct online visible lines

This commit is contained in:
Dean Herbert
2020-05-18 21:27:26 +09:00
parent b35b150f38
commit 406f39e8bf
3 changed files with 81 additions and 65 deletions

View File

@ -61,7 +61,7 @@ namespace osu.Game.Rulesets.Mania.Tests
float relativePosition = Playfield.Stages[0].HitObjectContainer.ToLocalSpace(e.ScreenSpaceMousePosition).Y / Playfield.Stages[0].HitObjectContainer.DrawHeight;
double timeValue = scrollingInfo.TimeRange.Value * relativePosition;
beatSnapGrid.SetRange(timeValue, timeValue);
beatSnapGrid.SelectionTimeRange = (timeValue, timeValue);
return true;
}