mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 23:07:26 +08:00
Merge pull request #5439 from peppy/remove-text-shadow
Remove text shadow in chat
This commit is contained in:
commit
1db514665d
@ -85,6 +85,7 @@ namespace osu.Game.Overlays.Chat
|
|||||||
|
|
||||||
Drawable effectedUsername = username = new OsuSpriteText
|
Drawable effectedUsername = username = new OsuSpriteText
|
||||||
{
|
{
|
||||||
|
Shadow = false,
|
||||||
Colour = hasBackground ? customUsernameColour : username_colours[message.Sender.Id % username_colours.Length],
|
Colour = hasBackground ? customUsernameColour : username_colours[message.Sender.Id % username_colours.Length],
|
||||||
Font = OsuFont.GetFont(size: TextSize, weight: FontWeight.Bold, italics: true)
|
Font = OsuFont.GetFont(size: TextSize, weight: FontWeight.Bold, italics: true)
|
||||||
};
|
};
|
||||||
@ -133,6 +134,7 @@ namespace osu.Game.Overlays.Chat
|
|||||||
{
|
{
|
||||||
timestamp = new OsuSpriteText
|
timestamp = new OsuSpriteText
|
||||||
{
|
{
|
||||||
|
Shadow = false,
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Font = OsuFont.GetFont(size: TextSize * 0.75f, weight: FontWeight.SemiBold, fixedWidth: true)
|
Font = OsuFont.GetFont(size: TextSize * 0.75f, weight: FontWeight.SemiBold, fixedWidth: true)
|
||||||
@ -155,6 +157,8 @@ namespace osu.Game.Overlays.Chat
|
|||||||
{
|
{
|
||||||
contentFlow = new LinkFlowContainer(t =>
|
contentFlow = new LinkFlowContainer(t =>
|
||||||
{
|
{
|
||||||
|
t.Shadow = false;
|
||||||
|
|
||||||
if (Message.IsAction)
|
if (Message.IsAction)
|
||||||
{
|
{
|
||||||
t.Font = OsuFont.GetFont(italics: true);
|
t.Font = OsuFont.GetFont(italics: true);
|
||||||
|
Loading…
Reference in New Issue
Block a user