treeform/windy

mousePrevPos set to zero when mouse not moving on Windows

creikey opened this issue · 2 comments

From this program:

import opengl, windy

let window = newWindow("Windy Basic", ivec2(1280, 800))

window.makeContextCurrent()
loadExtensions()

proc display() =
  glClear(GL_COLOR_BUFFER_BIT)
  # Your OpenGL display code here
  window.swapBuffers()

while not window.closeRequested:
  display()
  pollEvents()
  echo window.mousePrevPos

image

Thank you for the bug report. I think we fixed it. Feel free to reopen if it still does not work for you.

Thank you for the bug report. I think we fixed it. Feel free to reopen if it still does not work for you.

Just tested the latest update, issue is gone. Thanks for this library, it's really nice to use