Chat channel switching improvements (#4000)
* IC is default when joining; switch to IC channel if IC channel becomes unavailable before trying OOC * Allow channel cycling while the textbox is focused * Fix focus channel keybinds not actually focusing * Whitespess * Fix duplicate radio * Smol CycleChatChannel cleanup * Revert style change
This commit is contained in:
@@ -242,7 +242,7 @@ namespace Content.Client.Chat
|
||||
}
|
||||
|
||||
// let our chatbox know all the new settings
|
||||
CurrentChatBox?.SetChannelPermissions(_selectableChannels, _filterableChannels, _channelFilters, _unreadMessages);
|
||||
CurrentChatBox?.SetChannelPermissions(_selectableChannels, _filterableChannels, _channelFilters, _unreadMessages, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -311,7 +311,7 @@ namespace Content.Client.Chat
|
||||
CurrentChatBox.FilterToggled += OnFilterButtonToggled;
|
||||
CurrentChatBox.OnResized += ChatBoxOnResized;
|
||||
|
||||
CurrentChatBox.SetChannelPermissions(_selectableChannels, _filterableChannels, _channelFilters, _unreadMessages);
|
||||
CurrentChatBox.SetChannelPermissions(_selectableChannels, _filterableChannels, _channelFilters, _unreadMessages, false);
|
||||
}
|
||||
|
||||
RepopulateChat(_filteredHistory);
|
||||
|
||||
Reference in New Issue
Block a user