Skip to content

Commit bcae99e

Browse files
committed
fix(zq): disable tooltips when hotkey cheatsheet is open
1 parent 603e964 commit bcae99e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/zq/render_tooltip.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "base/render.h"
33
#include "base/zdefs.h"
44
#include "zq/render.h"
5+
#include "zq/render_hotkeys.h"
56
#include "zq/zquest.h"
67
#include <algorithm>
78

@@ -208,7 +209,7 @@ ToolTipRTI::ToolTipRTI(std::string name) : LegacyBitmapRTI(name) {}
208209

209210
void ToolTipRTI::prepare()
210211
{
211-
if (!EnableTooltips)
212+
if (!EnableTooltips || hotkeys_is_active())
212213
{
213214
visible = false;
214215
return;

0 commit comments

Comments
 (0)