mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
add tab item
This commit is contained in:
@ -44,6 +44,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
public const float TAB_AREA_HEIGHT = 50;
|
||||
|
||||
public const int CHANNEL_SELECTOR_ID = -1;
|
||||
|
||||
private GetMessagesRequest fetchReq;
|
||||
|
||||
private readonly ChatTabControl channelTabs;
|
||||
@ -262,6 +264,16 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
if (currentChannel == value) return;
|
||||
|
||||
if(value.Id == CHANNEL_SELECTOR_ID)
|
||||
{
|
||||
//channel selector popout
|
||||
currentChannel = value;
|
||||
return;
|
||||
}else if(currentChannel?.Id == CHANNEL_SELECTOR_ID)
|
||||
{
|
||||
//channel selector popin
|
||||
}
|
||||
|
||||
if (currentChannel != null)
|
||||
currentChannelContainer.Clear(false);
|
||||
|
||||
|
Reference in New Issue
Block a user