1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 04:39:57 +08:00
Files
osu-lazer/osu.Game/Screens/Select
T
Krzysztof Gutkowski 7b99842708 Adjust bad padding in FilterControl (#37098)
Reported [on
discord](https://discord.com/channels/188630481301012481/1097318920991559880/1462402881658294355).
Not sure if this has been turned into an issue anywhere.

Fixes awkward looking padding at the bottom of `FilterControl` by having
`ScopedBeatmapSetDisplay` apply the top padding on its own instead of
relying on the spacing of its parent fill flow. This way, the padding is
animated away when the scoped display disappears, instead of remaining
because the component is still technically there.

| Before | After |
|--------|--------|
| <img width="1123" height="247" alt="image"
src="https://github.com/user-attachments/assets/edadd97e-cada-4378-98b7-cc85bfa01fb5"
/> | <img width="1120" height="246" alt="image"
src="https://github.com/user-attachments/assets/d8daecd0-1dfc-4594-95a4-94327677da89"
/> |


[Screencast_20260325_114439.webm](https://github.com/user-attachments/assets/99bb7083-b2da-40a3-b5a0-d94476e7c1ac)

I don't really like how `ScopedBeatmapSetDisplay` is now managing its
own spacing in the parent container, but it's tightly tied to the filter
control anyway so it's probably fine.
7b99842708 · 2026-03-26 19:46:08 +09:00
History
..
2025-10-24 08:46:34 +02:00
2026-03-03 16:45:15 +09:00