Merge branch 'master' into fix-double-load-playlist-backgrounds

This commit is contained in:
Bartłomiej Dach 2024-05-03 08:15:56 +02:00
commit cf27366f99
No known key found for this signature in database
3 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public DummyWorkingBeatmap([NotNull] AudioManager audio, TextureStore textures)
protected override IBeatmap GetBeatmap() => new Beatmap();
public override Texture GetBackground() => textures?.Get(@"Backgrounds/bg4");
public override Texture GetBackground() => textures?.Get(@"Backgrounds/bg2");
protected override Track GetBeatmapTrack() => GetVirtualTrack();

View File

@ -198,6 +198,7 @@ private IEnumerable<BeatmapCard> createCardsFor(IEnumerable<APIBeatmapSet> beatm
{
c.Anchor = Anchor.TopCentre;
c.Origin = Anchor.TopCentre;
c.Scale = new Vector2(0.8f);
})).ToArray();
private static ReverseChildIDFillFlowContainer<BeatmapCard> createCardContainerFor(IEnumerable<BeatmapCard> newCards)

View File

@ -422,7 +422,7 @@ public Background(WorkingBeatmap beatmap)
[BackgroundDependencyLoader]
private void load(LargeTextureStore textures)
{
sprite.Texture = beatmap.GetBackground() ?? textures.Get(@"Backgrounds/bg4");
sprite.Texture = beatmap.GetBackground() ?? textures.Get(@"Backgrounds/bg2");
}
}