mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Only recreate text once per unicode option change
This commit is contained in:
parent
43bd0f686b
commit
139b03a1ce
@ -89,9 +89,8 @@ namespace osu.Game.Overlays.Music
|
||||
titleBind = localisation.GetUnicodePreference(metadata.TitleUnicode, metadata.Title);
|
||||
artistBind = localisation.GetUnicodePreference(metadata.ArtistUnicode, metadata.Artist);
|
||||
|
||||
titleBind.ValueChanged += newText => recreateText();
|
||||
artistBind.ValueChanged += newText => recreateText();
|
||||
titleBind.TriggerChange();
|
||||
artistBind.TriggerChange();
|
||||
}
|
||||
|
||||
private void recreateText()
|
||||
|
Loading…
Reference in New Issue
Block a user