mirror of
https://github.com/ppy/osu.git
synced 2026-06-02 07:29:54 +08:00
Schedule visibility update once per frame
This commit is contained in:
@@ -414,7 +414,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
EditorBeatmap.HitObjectUpdated += _ => UpdateTernaryStates();
|
||||
EditorBeatmap.SelectedHitObjects.CollectionChanged += (sender, args) =>
|
||||
{
|
||||
updateVisibility();
|
||||
Scheduler.AddOnce(updateVisibility);
|
||||
UpdateTernaryStates();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user