mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 02:39:53 +08:00
truncate long usernames in private chat
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user