mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Update osu.Game/Graphics/Containers/SectionsContainer.cs
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user