1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:28:00 +08:00

Fix song select search textbox font size incorrectly having increased

This commit is contained in:
Dean Herbert 2023-03-22 14:13:42 +09:00
parent 7c1ccefa4a
commit 425be20e46

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 };
}