mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-24 06:23:40 +00:00
[client] overlay/help: do not always show when in overlay mode
This commit is contained in:
parent
75a14b8b45
commit
5e2f1b3fac
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user