UI: Decouple new chat display and tracking logic.

This commit is contained in:
Unknown W. Brackets committed 2021-09-14 18:08:16 -07:00
1 parent be0b0cd88d
commit 9403947b67
5 files changed
+24 -15

No files matched your search

-4
View File
@@ -177,9 +177,6 @@ void ChatMenu::Update() {
UpdateChat();
}
chatScreenVisible = true;
newChat = 0;
#if defined(USING_WIN_UI)
// Could remove the fullscreen check here, it works now.
if (promptInput_ && g_Config.bBypassOSKWithKeyboard && !g_Config.bFullScreen) {
@@ -203,5 +200,4 @@ bool ChatMenu::SubviewFocused(UI::View *view) {
void ChatMenu::Close() {
SetVisibility(UI::V_GONE);
chatScreenVisible = false;
}