mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Restructure
This commit is contained in:
@ -16,7 +16,7 @@ namespace osu.Game.Screens.Multi.Components
|
||||
|
||||
InternalChild = sprite = CreateBackgroundSprite();
|
||||
|
||||
sprite.Beatmap.BindTo(CurrentBeatmap);
|
||||
CurrentItem.BindValueChanged(i => sprite.Beatmap.Value = i?.Beatmap, true);
|
||||
}
|
||||
|
||||
protected virtual UpdateableBeatmapBackgroundSprite CreateBackgroundSprite() => new UpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both };
|
||||
|
Reference in New Issue
Block a user