mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09:00
Cleanup
This commit is contained in:
parent
fb0b54e66a
commit
d29ebb139f
@ -24,10 +24,10 @@ namespace osu.Game.Online.Chat
|
|||||||
[JsonProperty(@"channel_id")]
|
[JsonProperty(@"channel_id")]
|
||||||
public int Id;
|
public int Id;
|
||||||
|
|
||||||
public Bindable<bool> Joined = new Bindable<bool>();
|
|
||||||
|
|
||||||
public readonly SortedList<Message> Messages = new SortedList<Message>(Comparer<Message>.Default);
|
public readonly SortedList<Message> Messages = new SortedList<Message>(Comparer<Message>.Default);
|
||||||
|
|
||||||
|
public Bindable<bool> Joined = new Bindable<bool>();
|
||||||
|
|
||||||
public bool ReadOnly => Name != "#lazer";
|
public bool ReadOnly => Name != "#lazer";
|
||||||
|
|
||||||
public const int MAX_HISTORY = 300;
|
public const int MAX_HISTORY = 300;
|
||||||
|
@ -29,10 +29,10 @@ namespace osu.Game.Overlays.Chat
|
|||||||
private Color4? topicColour;
|
private Color4? topicColour;
|
||||||
|
|
||||||
public string[] FilterTerms => new[] { Channel.Name };
|
public string[] FilterTerms => new[] { Channel.Name };
|
||||||
public bool MatchingCurrentFilter
|
public bool MatchingCurrentFilter
|
||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
FadeTo(value ? 1f : 0f, 100);
|
FadeTo(value ? 1f : 0f, 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
channelSelection = new ChannelSelectionOverlay
|
channelSelection = new ChannelSelectionOverlay //todo: temporary placement
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Height = 400,
|
Height = 400,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user