Allow no chat button and make quickchat settings disabled when chat is not enabled

This commit is contained in:
iota97 2021-08-20 00:03:42 +02:00
parent c99794b9ee
commit c302ebdd83
2 changed files with 34 additions and 38 deletions

View file

@ -806,7 +806,7 @@ void EmuScreen::CreateViews() {
cardboardDisableButton_->SetVisibility(V_GONE);
cardboardDisableButton_->SetScale(0.65f); // make it smaller - this button can be in the way otherwise.
if (g_Config.bEnableNetworkChat) {
if (g_Config.bEnableNetworkChat && g_Config.iChatButtonPosition != 8) {
AnchorLayoutParams *layoutParams = nullptr;
switch (g_Config.iChatButtonPosition) {
case 0: