Skip to content

Commit

Permalink
Merge pull request #104 from doongjohn/master
Browse files Browse the repository at this point in the history
fix #101
  • Loading branch information
guzba authored May 30, 2023
2 parents efa4cdd + d3b90a5 commit 7fcad04
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 7fcad04

Please sign in to comment.