[client] overlay/help: do not always show when in overlay mode

This commit is contained in:
Geoffrey McRae 2021-07-31 20:30:52 +10:00
parent 75a14b8b45
commit 5e2f1b3fac

View file

@ -39,7 +39,7 @@ static void help_free(void * udata)
static int help_render(void * udata, bool interactive, struct Rect * windowRects, static int help_render(void * udata, bool interactive, struct Rect * windowRects,
int maxRects) int maxRects)
{ {
if (!g_state.escapeHelp && !interactive) if (!g_state.escapeHelp)
return 0; return 0;
ImVec2 * screen = overlayGetScreenSize(); ImVec2 * screen = overlayGetScreenSize();