mouse event positions wrong on Mac

Issue #10 resolved
Jeremy Hill created an issue
w = Shady.World( fullscreenMode=0 )
s = w.Patch( pp=1 )
w.SetEventHandler( lambda event: event.type == 'mouse_motion' and s.Set( x=event.x, y=event.y ), slot=-1)

This may be a Retina-screen-specific issue: are .x and .y (and presumably therefore .dx and .dy) being returned in "screen coordinates" instead of pixels? Verify with mac and non-Retina screen.

Comments (2)

  1. Log in to comment