mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Don't lock scroll position of SectionsContainer header elements on negative scroll
Feels better in all cases.
This commit is contained in:
@ -162,7 +162,8 @@ namespace osu.Game.Graphics.Containers
|
|||||||
updateSectionsMargin();
|
updateSectionsMargin();
|
||||||
}
|
}
|
||||||
|
|
||||||
float currentScroll = Math.Max(0, scrollContainer.Current);
|
float currentScroll = scrollContainer.Current;
|
||||||
|
|
||||||
if (currentScroll != lastKnownScroll)
|
if (currentScroll != lastKnownScroll)
|
||||||
{
|
{
|
||||||
lastKnownScroll = currentScroll;
|
lastKnownScroll = currentScroll;
|
||||||
|
Reference in New Issue
Block a user