Hide scrollbars in tournament chat display

This commit is contained in:
Dean Herbert
2020-03-23 12:03:33 +09:00
parent 4fbf94f963
commit 1b6342438f
3 changed files with 36 additions and 7 deletions

View File

@ -70,6 +70,17 @@ namespace osu.Game.Tournament.Components
protected override ChatLine CreateMessage(Message message) => new MatchMessage(message);
protected override StandAloneDrawableChannel CreateDrawableChannel(Channel channel) => new MatchChannel(channel);
public class MatchChannel : StandAloneDrawableChannel
{
public MatchChannel(Channel channel)
: base(channel)
{
ScrollbarVisible = false;
}
}
protected class MatchMessage : StandAloneMessage
{
public MatchMessage(Message message)