Move colouring to full icon content rather than background

This commit is contained in:
Dean Herbert
2022-08-30 17:40:35 +09:00
parent 0f203531d9
commit 09aa3e065d
8 changed files with 13 additions and 16 deletions

View File

@ -41,8 +41,6 @@ namespace osu.Game.Overlays.Notifications
}
}
protected Box IconBackground = null!;
private TextFlowContainer? textDrawable;
private SpriteIcon? iconDrawable;
@ -54,7 +52,7 @@ namespace osu.Game.Overlays.Notifications
IconContent.AddRange(new Drawable[]
{
IconBackground = new Box
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = colourProvider.Background5,