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:
parent
f11682d44f
commit
46429c5074
@ -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);
|
||||||
}
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user