1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:03:08 +08:00

Schedule visibility update once per frame

This commit is contained in:
Bartłomiej Dach 2020-10-31 14:45:11 +01:00
parent d74c19e2d7
commit 007c27d3ff

View File

@ -414,7 +414,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
EditorBeatmap.HitObjectUpdated += _ => UpdateTernaryStates();
EditorBeatmap.SelectedHitObjects.CollectionChanged += (sender, args) =>
{
updateVisibility();
Scheduler.AddOnce(updateVisibility);
UpdateTernaryStates();
};
}