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:
parent
d74c19e2d7
commit
007c27d3ff
@ -414,7 +414,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
EditorBeatmap.HitObjectUpdated += _ => UpdateTernaryStates();
|
||||
EditorBeatmap.SelectedHitObjects.CollectionChanged += (sender, args) =>
|
||||
{
|
||||
updateVisibility();
|
||||
Scheduler.AddOnce(updateVisibility);
|
||||
UpdateTernaryStates();
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user