mirror of
https://github.com/ppy/osu.git
synced 2026-05-29 07:29:53 +08:00
Allow specifying icon colour on simple notifications
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Colour;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
@@ -41,6 +42,12 @@ namespace osu.Game.Overlays.Notifications
|
||||
}
|
||||
}
|
||||
|
||||
public ColourInfo IconColour
|
||||
{
|
||||
get => IconContent.Colour;
|
||||
set => IconContent.Colour = value;
|
||||
}
|
||||
|
||||
private TextFlowContainer? textDrawable;
|
||||
|
||||
private SpriteIcon? iconDrawable;
|
||||
|
||||
Reference in New Issue
Block a user