From 8d1702fbaca0f07b18e9f8b9706783fcde7d22fb Mon Sep 17 00:00:00 2001 From: marvin Date: Wed, 4 Jun 2025 19:58:55 +0200 Subject: [PATCH] Use ghost icon in NoResultsPlaceholder --- osu.Game/Screens/SelectV2/NoResultsPlaceholder.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/osu.Game/Screens/SelectV2/NoResultsPlaceholder.cs b/osu.Game/Screens/SelectV2/NoResultsPlaceholder.cs index 46f8859255..36f87127f8 100644 --- a/osu.Game/Screens/SelectV2/NoResultsPlaceholder.cs +++ b/osu.Game/Screens/SelectV2/NoResultsPlaceholder.cs @@ -27,7 +27,7 @@ namespace osu.Game.Screens.SelectV2 private LinkFlowContainer textFlow = null!; - private SpriteIcon icon = null!; + private GhostIcon icon = null!; [Resolved] private BeatmapManager beatmaps { get; set; } = null!; @@ -71,13 +71,9 @@ namespace osu.Game.Screens.SelectV2 AutoSizeAxes = Axes.Y, Children = new Drawable[] { - icon = new SpriteIcon + icon = new GhostIcon { - Icon = FontAwesome.Solid.Ghost, - Anchor = Anchor.TopCentre, - Origin = Anchor.TopCentre, - Margin = new MarginPadding(10), - Size = new Vector2(50), + RelativeSizeAxes = Axes.Both, }, new OsuSpriteText {