mouse event positions wrong on Mac
Issue #10
resolved
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)
-
reporter -
reporter - changed status to resolved
- Log in to comment
confirmed, it's a Retina problem