Skip to content

Commit

Permalink
fix #101
Browse files Browse the repository at this point in the history
  • Loading branch information
doongjohn committed May 30, 2023
1 parent efa4cdd commit d3b90a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windy/platforms/win32/platform.nim
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ proc wndProc(
MouseButton5
else:
MouseMiddle
if uMsg in {WM_LBUTTONDOWN, WM_RBUTTONDOWN, WM_MBUTTONDOWN}:
if uMsg in {WM_LBUTTONDOWN.UINT, WM_RBUTTONDOWN, WM_MBUTTONDOWN}:
window.handleButtonPress(button)
if button == MouseLeft:
discard SetCapture(window.hWnd)
Expand Down

0 comments on commit d3b90a5

Please sign in to comment.