1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 06:23:37 +08:00

Update osu.Game/Graphics/Containers/SectionsContainer.cs

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Fukashi13
2020-05-15 00:06:58 +02:00
committed by GitHub
Unverified
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;