mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 04:02:59 +08:00
Apply reviews
This commit is contained in:
parent
208b9a4eba
commit
b6dd610af8
@ -146,7 +146,7 @@ namespace osu.Game.Online.Chat
|
||||
|
||||
protected override float HorizontalPadding => 10;
|
||||
protected override float MessagePadding => 120;
|
||||
protected override float TimestampPadding => 130;
|
||||
protected override float TimestampPadding => 50;
|
||||
|
||||
public StandAloneMessage(Message message)
|
||||
: base(message)
|
||||
|
@ -96,7 +96,7 @@ namespace osu.Game.Overlays.Chat
|
||||
Font = OsuFont.GetFont(size: TextSize, weight: FontWeight.Bold, italics: true),
|
||||
Anchor = Anchor.TopRight,
|
||||
Origin = Anchor.TopRight,
|
||||
MaxWidth = default_message_padding - TimestampPadding
|
||||
MaxWidth = MessagePadding - TimestampPadding
|
||||
};
|
||||
|
||||
if (hasBackground)
|
||||
@ -151,7 +151,6 @@ namespace osu.Game.Overlays.Chat
|
||||
new MessageSender(message.Sender)
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Padding = new MarginPadding { Left = TimestampPadding },
|
||||
Origin = Anchor.TopRight,
|
||||
Anchor = Anchor.TopRight,
|
||||
Child = effectedUsername,
|
||||
|
Loading…
Reference in New Issue
Block a user