1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 16:07:24 +08:00

Merge pull request #22931 from peppy/fix-song-select-search-text-size

Fix song select search textbox font size incorrectly having increased
This commit is contained in:
Bartłomiej Dach 2023-03-22 19:59:57 +01:00 committed by GitHub
commit 7dd113f208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,6 +257,7 @@ namespace osu.Game.Screens.Select
public FilterControlTextBox()
{
Height += filter_text_size;
TextContainer.Height *= (Height - filter_text_size) / Height;
TextContainer.Margin = new MarginPadding { Bottom = filter_text_size };
}