mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
Prevent clicking through when selecting a color using color picker (#5203)
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user