mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix notes scrolling from end of map -> start of map.
This commit is contained in:
@ -31,8 +31,8 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
|
||||
public void Add(Drawable drawable)
|
||||
{
|
||||
var section = Children.LastOrDefault(t => t.TimingSection.StartTime <= drawable.Y) ?? Children.First();
|
||||
drawable.Y -= (float)section.TimingSection.StartTime;
|
||||
var section = Children.LastOrDefault(t => t.Y >= drawable.Y) ?? Children.First();
|
||||
drawable.Y -= (float)section.Y;
|
||||
section.Add(drawable);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user