1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:43:20 +08:00

Schedule control point switch for settings modifications to apply first

This commit is contained in:
Salman Ahmed 2024-01-17 08:10:37 +03:00
parent f11682d44f
commit 46429c5074

View File

@ -44,11 +44,12 @@ namespace osu.Game.Screens.Edit.Timing
{ {
BackgroundFlow.Add(new RowBackground(group) BackgroundFlow.Add(new RowBackground(group)
{ {
Action = () => // schedule to give time for any modified focused text box to lose focus and commit changes (e.g. BPM / time signature textboxes) before switching to new point.
Action = () => Schedule(() =>
{ {
SetSelectedRow(group); SetSelectedRow(group);
clock.SeekSmoothlyTo(group.Time); clock.SeekSmoothlyTo(group.Time);
} })
}); });
} }