Remove text shadow in chat

This commit is contained in:
Dean Herbert 2019-07-23 16:01:05 +09:00
parent 849629708b
commit 704fe2d655
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,7 @@ private void load(OsuColour colours)
Drawable effectedUsername = username = new OsuSpriteText
{
Shadow = false,
Colour = hasBackground ? customUsernameColour : username_colours[message.Sender.Id % username_colours.Length],
Font = OsuFont.GetFont(size: TextSize, weight: FontWeight.Bold, italics: true)
};
@ -133,6 +134,7 @@ private void load(OsuColour colours)
{
timestamp = new OsuSpriteText
{
Shadow = false,
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Font = OsuFont.GetFont(size: TextSize * 0.75f, weight: FontWeight.SemiBold, fixedWidth: true)
@ -155,6 +157,8 @@ private void load(OsuColour colours)
{
contentFlow = new LinkFlowContainer(t =>
{
t.Shadow = false;
if (Message.IsAction)
{
t.Font = OsuFont.GetFont(italics: true);