Prevent clicking through when selecting a color using color picker (#5203)

This commit is contained in:
martinchrzan
2020-07-24 18:44:46 +02:00
committed by GitHub
parent 5d66473a4f
commit 983ff901f2

View File

@@ -92,6 +92,7 @@ namespace ColorPicker.Mouse
{ {
MouseDown.Invoke(null, new System.Drawing.Point(mouseHookStruct.pt.x, mouseHookStruct.pt.y)); MouseDown.Invoke(null, new System.Drawing.Point(mouseHookStruct.pt.x, mouseHookStruct.pt.y));
} }
return new IntPtr(-1);
} }
if (wParam.ToInt32() == WM_MOUSEWHEEL) if (wParam.ToInt32() == WM_MOUSEWHEEL)
{ {