justingardner / mgl

A suite of mex/m files for displaying psychophysics stimuli
http://justingardner.net/mgl
Other
18 stars 22 forks source link

mglDisplayCursor #80

Closed jiwonyeon closed 1 year ago

jiwonyeon commented 2 years ago

mglDisplayCursor does not properly show the cursor when it's used in callbacks.

justingardner commented 1 year ago

This is now fixed. There is a test program called mglTestDisplayCursor which you can use to test. Will only hide/unhide the cursor when the focus is on mglMetal. There may be some way to hide / unhide globally, but this is generally pretty annoying behavior so did not implement (uses the call CGDisplayHideCursor).