1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

truncate long usernames in private chat

This commit is contained in:
Max Hübner 2019-07-27 18:56:37 +02:00
parent cc0aefca1f
commit edf6453e04

View File

@ -65,6 +65,12 @@ namespace osu.Game.Overlays.Chat.Tabs
Text.X = ChatOverlay.TAB_AREA_HEIGHT;
TextBold.X = ChatOverlay.TAB_AREA_HEIGHT;
Text.Width = 100f;
TextBold.Width = 100f;
Text.Truncate = true;
TextBold.Truncate = true;
}
protected override bool ShowCloseOnHover => false;