mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +08:00
Update osu.Game/Graphics/Containers/SectionsContainer.cs
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
e390d70b70
commit
097fcfd9ad
@ -197,7 +197,7 @@ namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
float diff = scrollContainer.GetChildPosInContent(section) - currentScroll - scrollOffset;
|
||||
|
||||
if ((minDiff < diff) & (diff < 0))
|
||||
if (minDiff < diff && diff < 0)
|
||||
{
|
||||
minDiff = diff;
|
||||
bestMatch = section;
|
||||
|
Loading…
Reference in New Issue
Block a user