1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 06:42:56 +08:00

Merge pull request #11068 from peppy/fix-carousel-edge-masking

Fix beatmap carousel panels getting masked away when out of scroll bounds
This commit is contained in:
Dan Balasescu 2020-12-03 20:40:44 +09:00 committed by GitHub
commit 1d92800761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -914,6 +914,9 @@ namespace osu.Game.Screens.Select
{
// size is determined by the carousel itself, due to not all content necessarily being loaded.
ScrollContent.AutoSizeAxes = Axes.None;
// the scroll container may get pushed off-screen by global screen changes, but we still want panels to display outside of the bounds.
Masking = false;
}
// ReSharper disable once OptionalParameterHierarchyMismatch 2020.3 EAP4 bug. (https://youtrack.jetbrains.com/issue/RSRP-481535?p=RIDER-51910)