Skip to content

Commit

Permalink
Fix placeholder being displayed when settings menu was closed by open…
Browse files Browse the repository at this point in the history
…ing input menu
  • Loading branch information
jacklul committed Jun 17, 2024
1 parent ece7a7d commit 646a3e0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,10 @@ private void ToggleMenu(string name)
if (_popupActive)
continue; // Prevents toggling off popup window by opening other menu

if (settingsMenu.activeSelf)
if (settingsMenu.activeSelf) {
overlayHandler.SetPlaceholder(false);
overlayHandler.ClearSubtitle(); // Hide subtitle placeholder when switching the menus
}
}
break;
case "info":
Expand Down

0 comments on commit 646a3e0

Please sign in to comment.