1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00
This commit is contained in:
DrabWeb 2017-05-26 03:38:52 -03:00
parent fb0b54e66a
commit d29ebb139f
3 changed files with 6 additions and 6 deletions

View File

@ -24,10 +24,10 @@ namespace osu.Game.Online.Chat
[JsonProperty(@"channel_id")]
public int Id;
public Bindable<bool> Joined = new Bindable<bool>();
public readonly SortedList<Message> Messages = new SortedList<Message>(Comparer<Message>.Default);
public Bindable<bool> Joined = new Bindable<bool>();
public bool ReadOnly => Name != "#lazer";
public const int MAX_HISTORY = 300;

View File

@ -29,10 +29,10 @@ namespace osu.Game.Overlays.Chat
private Color4? topicColour;
public string[] FilterTerms => new[] { Channel.Name };
public bool MatchingCurrentFilter
{
public bool MatchingCurrentFilter
{
set
{
{
FadeTo(value ? 1f : 0f, 100);
}
}

View File

@ -69,7 +69,7 @@ namespace osu.Game.Overlays
Children = new Drawable[]
{
channelSelection = new ChannelSelectionOverlay
channelSelection = new ChannelSelectionOverlay //todo: temporary placement
{
Origin = Anchor.BottomLeft,
Height = 400,