mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Basic searching in osu!direct, move BeatmapSetOnlineInfo covers into their own class
This commit is contained in:
@ -98,8 +98,8 @@ namespace osu.Game.Overlays.Direct
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(TextureStore textures)
|
||||
{
|
||||
if (set.OnlineInfo?.Covers.FirstOrDefault() != null)
|
||||
Texture = textures.Get(set.OnlineInfo.Covers.First());
|
||||
if (set.OnlineInfo?.Covers?.Card != null)
|
||||
Texture = textures.Get(set.OnlineInfo.Covers.Card);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -129,6 +129,8 @@ namespace osu.Game.Overlays.Direct
|
||||
protected override Color4 BackgroundUnfocused => backgroundColour;
|
||||
protected override Color4 BackgroundFocused => backgroundColour;
|
||||
|
||||
protected override bool AllowCommit => true;
|
||||
|
||||
private Color4 backgroundColour;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
Reference in New Issue
Block a user