mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:13:21 +08: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