mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:05:29 +08:00
Move focus handling into PopIn
This commit is contained in:
parent
fd554033db
commit
a46f5b90d4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user