mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update with framework bindable changes
This commit is contained in:
@ -67,7 +67,7 @@ namespace osu.Game.Overlays.Direct
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
State.BindValueChanged(updateState, true);
|
||||
State.BindValueChanged(e => updateState(e.NewValue), true);
|
||||
FinishTransforms(true);
|
||||
}
|
||||
|
||||
@ -85,10 +85,10 @@ namespace osu.Game.Overlays.Direct
|
||||
shakeContainer.Shake();
|
||||
break;
|
||||
case DownloadState.LocallyAvailable:
|
||||
game.PresentBeatmap(BeatmapSet);
|
||||
game.PresentBeatmap(BeatmapSet.Value);
|
||||
break;
|
||||
default:
|
||||
beatmaps.Download(BeatmapSet, noVideo);
|
||||
beatmaps.Download(BeatmapSet.Value, noVideo);
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user