Perform first inspector text update immediately

Provides better and more consistent initial state for the inspector.
This commit is contained in:
Bartłomiej Dach 2023-04-10 14:13:53 +02:00
parent 641415ca32
commit 60358c7203
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ protected override void LoadComplete()
EditorBeatmap.SelectedHitObjects.CollectionChanged += (_, _) => updateInspectorText();
EditorBeatmap.TransactionBegan += updateInspectorText;
EditorBeatmap.TransactionEnded += updateInspectorText;
updateInspectorText();
}
private ScheduledDelegate? rollingTextUpdate;