reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 56d8753a0f1f337217ea2f0c85e2f7a4042917c2
parent 907b4f74fba10ee128618e1e4d5636116b44c8ab
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Fri,  3 Mar 2023 10:59:12 -0500

fix displaying the list column customization context menu when on the left of the primary monitor

Diffstat:
Msrc/listview.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/listview.cpp b/src/listview.cpp @@ -477,7 +477,7 @@ bool ListView::onContextMenu(HWND dialog, int x, int y) { SetFocus(handle()); - const bool keyboardTrigger = x < 0; + const bool keyboardTrigger = x == -1 && y == -1; if(!keyboardTrigger && headerHitTest(x, y)) { if(m_customizable) // show menu only if header is customizable