1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 05:27:23 +08:00

Move focus handling into PopIn

This commit is contained in:
Cootz 2023-06-04 18:11:44 +03:00
parent fd554033db
commit a46f5b90d4

View File

@ -295,8 +295,6 @@ namespace osu.Game.Overlays.Mods
column.SearchTerm = query.NewValue;
}, true);
SearchTextBox.TakeFocus();
// Start scrolled slightly to the right to give the user a sense that
// there is more horizontal content available.
ScheduleAfterChildren(() =>
@ -503,6 +501,8 @@ namespace osu.Game.Overlays.Mods
base.PopIn();
SearchTextBox.TakeFocus();
aboveColumnsContent
.FadeIn(fade_in_duration, Easing.OutQuint)
.MoveToY(0, fade_in_duration, Easing.OutQuint);