mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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 HorizontalPadding => 10;
|
||||||
protected override float MessagePadding => 120;
|
protected override float MessagePadding => 120;
|
||||||
protected override float TimestampPadding => 130;
|
protected override float TimestampPadding => 50;
|
||||||
|
|
||||||
public StandAloneMessage(Message message)
|
public StandAloneMessage(Message message)
|
||||||
: base(message)
|
: base(message)
|
||||||
|
@ -96,7 +96,7 @@ namespace osu.Game.Overlays.Chat
|
|||||||
Font = OsuFont.GetFont(size: TextSize, weight: FontWeight.Bold, italics: true),
|
Font = OsuFont.GetFont(size: TextSize, weight: FontWeight.Bold, italics: true),
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
MaxWidth = default_message_padding - TimestampPadding
|
MaxWidth = MessagePadding - TimestampPadding
|
||||||
};
|
};
|
||||||
|
|
||||||
if (hasBackground)
|
if (hasBackground)
|
||||||
@ -151,7 +151,6 @@ namespace osu.Game.Overlays.Chat
|
|||||||
new MessageSender(message.Sender)
|
new MessageSender(message.Sender)
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Left = TimestampPadding },
|
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Child = effectedUsername,
|
Child = effectedUsername,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user