1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-10 21:40:34 +08:00

Show current beatmap info in window title

This commit is contained in:
Zihad 2025-03-04 03:05:03 +06:00
parent c30f334cf9
commit b5696f97a0
No known key found for this signature in database

View File

@ -828,6 +828,8 @@ namespace osu.Game
{ {
beatmap.OldValue?.CancelAsyncLoad(); beatmap.OldValue?.CancelAsyncLoad();
beatmap.NewValue?.BeginAsyncLoad(); beatmap.NewValue?.BeginAsyncLoad();
Host.Window.Title = $"{Name} - {beatmap.NewValue.BeatmapInfo.GetDisplayTitleRomanisable(true, false)}";
} }
private void modsChanged(ValueChangedEvent<IReadOnlyList<Mod>> mods) private void modsChanged(ValueChangedEvent<IReadOnlyList<Mod>> mods)