mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Change return type of CreateDaySeparator
to Drawable
This commit is contained in:
parent
bec28c5b28
commit
f4acfbd0df
@ -171,7 +171,7 @@ namespace osu.Game.Online.Chat
|
|||||||
|
|
||||||
protected override ChatLine CreateChatLine(Message m) => CreateChatLineAction(m);
|
protected override ChatLine CreateChatLine(Message m) => CreateChatLineAction(m);
|
||||||
|
|
||||||
protected override DaySeparator CreateDaySeparator(DateTimeOffset time) => new DaySeparator(time)
|
protected override Drawable CreateDaySeparator(DateTimeOffset time) => new DaySeparator(time)
|
||||||
{
|
{
|
||||||
TextSize = 14,
|
TextSize = 14,
|
||||||
Colour = daySepColour,
|
Colour = daySepColour,
|
||||||
|
@ -121,7 +121,7 @@ namespace osu.Game.Overlays.Chat
|
|||||||
|
|
||||||
protected virtual ChatLine CreateChatLine(Message m) => new ChatLine(m);
|
protected virtual ChatLine CreateChatLine(Message m) => new ChatLine(m);
|
||||||
|
|
||||||
protected virtual DaySeparator CreateDaySeparator(DateTimeOffset time) => new DaySeparator(time)
|
protected virtual Drawable CreateDaySeparator(DateTimeOffset time) => new DaySeparator(time)
|
||||||
{
|
{
|
||||||
Colour = colours.ChatBlue.Lighten(0.7f),
|
Colour = colours.ChatBlue.Lighten(0.7f),
|
||||||
Margin = new MarginPadding { Vertical = 10 },
|
Margin = new MarginPadding { Vertical = 10 },
|
||||||
|
@ -326,7 +326,7 @@ namespace osu.Game.Overlays
|
|||||||
ChatLineFlow.Padding = new MarginPadding(0);
|
ChatLineFlow.Padding = new MarginPadding(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override DaySeparator CreateDaySeparator(DateTimeOffset time) => new DaySeparator(time)
|
protected override Drawable CreateDaySeparator(DateTimeOffset time) => new DaySeparator(time)
|
||||||
{
|
{
|
||||||
Colour = Colour4.White,
|
Colour = Colour4.White,
|
||||||
Margin = new MarginPadding { Vertical = 10 },
|
Margin = new MarginPadding { Vertical = 10 },
|
||||||
|
Loading…
Reference in New Issue
Block a user