[client] overlay/help: use the interactive argument

This commit is contained in:
Geoffrey McRae 2021-07-31 19:13:53 +10:00
parent 41c5688fca
commit 361ead59d3

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 && !g_state.overlayInput) if (!g_state.escapeHelp && !interactive)
return 0; return 0;
ImVec2 * screen = overlayGetScreenSize(); ImVec2 * screen = overlayGetScreenSize();