1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 01:10:58 +08:00

Revert "Update window title in input thread"

This reverts commit 14b5c0bf10.
This is not necessary as the title update is already scheduled on the correct thread by the framework.
This commit is contained in:
Zihad
2025-03-05 21:35:24 +06:00
Unverified
parent 8ce6003a3e
commit 5feddae6c7
+1 -1
View File
@@ -837,7 +837,7 @@ namespace osu.Game
if (beatmap.NewValue != null && beatmap.NewValue is not DummyWorkingBeatmap)
newTitle = $"{Name} - {beatmap.NewValue.BeatmapInfo.GetDisplayTitleRomanisable(true, false)}";
Host.InputThread.Scheduler.AddOnce(s => Host.Window.Title = s, newTitle);
Host.Window.Title = newTitle;
}
private void modsChanged(ValueChangedEvent<IReadOnlyList<Mod>> mods)