1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 16:02:58 +08:00

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

View File

@ -46,6 +46,7 @@ namespace osu.Game.Rulesets.Edit
EditorBeatmap.SelectedHitObjects.CollectionChanged += (_, _) => updateInspectorText();
EditorBeatmap.TransactionBegan += updateInspectorText;
EditorBeatmap.TransactionEnded += updateInspectorText;
updateInspectorText();
}
private ScheduledDelegate? rollingTextUpdate;