mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Update with framework bindable changes
This commit is contained in:
@ -8,6 +8,7 @@ using osu.Game.Graphics.UserInterface;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
using System;
|
||||
using osu.Framework.Configuration;
|
||||
|
||||
namespace osu.Game.Overlays.Music
|
||||
{
|
||||
@ -44,7 +45,7 @@ namespace osu.Game.Overlays.Music
|
||||
Search.Current.ValueChanged += current_ValueChanged;
|
||||
}
|
||||
|
||||
private void current_ValueChanged(string newValue) => FilterChanged?.Invoke(newValue);
|
||||
private void current_ValueChanged(ValueChangedEvent<string> e) => FilterChanged?.Invoke(e.NewValue);
|
||||
|
||||
public Action ExitRequested;
|
||||
|
||||
|
@ -100,7 +100,7 @@ namespace osu.Game.Overlays.Music
|
||||
titleBind = localisation.GetLocalisedString(new LocalisedString((metadata.TitleUnicode, metadata.Title)));
|
||||
artistBind = localisation.GetLocalisedString(new LocalisedString((metadata.ArtistUnicode, metadata.Artist)));
|
||||
|
||||
artistBind.BindValueChanged(newText => recreateText(), true);
|
||||
artistBind.BindValueChanged(e => recreateText(), true);
|
||||
}
|
||||
|
||||
private void recreateText()
|
||||
|
Reference in New Issue
Block a user