Skip to content

Commit

Permalink
Merge pull request #121 from GastonSg/fix/ContextMenu-Position
Browse files Browse the repository at this point in the history
Fix context menu position acording to dpi setting
  • Loading branch information
punker76 authored Oct 16, 2024
2 parents 9737877 + 28bf262 commit 113bbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotifyIconWpf/Interop/WindowMessageSink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ private void ProcessWindowMessage(uint msg, IntPtr wParam, IntPtr lParam)
{
X = (short)((nint)wParam & 0xFFFF),
Y = (short)((nint)wParam >> 16 & 0xFFFF)
});
}.ScaleWithDpi());
break;

case WindowsMessages.WM_MOUSEMOVE:
Expand Down

0 comments on commit 113bbc0

Please sign in to comment.