Debugger: Clear button flags on lost focus.

This mouse tracking is kinda ugly.  This works around an issue where when
you removed a custom condition, the highlight would stick as if you were
dragging.
This commit is contained in:
Unknown W. Brackets committed 2023-04-09 10:11:37 -07:00
1 parent 99bdb4f18a
commit be8a173026
1 file changed
+2
+2
View File
@@ -128,6 +128,8 @@ LRESULT CALLBACK CtrlDisAsmView::wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPA
break;
case WM_KILLFOCUS:
ccp->hasFocus=false;
lmbDown = false;
rmbDown = false;
ccp->redraw();
break;
case WM_GETDLGCODE: