mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Don't lock scroll position of SectionsContainer header elements on negative scroll
Feels better in all cases.
This commit is contained in:
parent
3c7cd97d42
commit
b79e309c2f
@ -162,7 +162,8 @@ namespace osu.Game.Graphics.Containers
|
||||
updateSectionsMargin();
|
||||
}
|
||||
|
||||
float currentScroll = Math.Max(0, scrollContainer.Current);
|
||||
float currentScroll = scrollContainer.Current;
|
||||
|
||||
if (currentScroll != lastKnownScroll)
|
||||
{
|
||||
lastKnownScroll = currentScroll;
|
||||
|
Loading…
Reference in New Issue
Block a user