Only recreate text once per unicode option change

This commit is contained in:
DrabWeb 2017-05-20 02:05:13 -03:00
parent 43bd0f686b
commit 139b03a1ce

View File

@ -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()