On a mouse move on an NSView, I change the cursor to a hand [[NSCursor pointingHandCursor] set]
. I do NOT reset anywhere in the code the cursor to arrow.
This works pretty well, however if I move the mouse slowly I can see at times it reverts to the arrow. This is unwanted. Is that a bug in Cocoa or is there a work around?
-(void) mouseMoved:(NSEvent*) event {
[[NSCursor pointingHandCursor] set];
}
Again, I do not play with the cursor anywhere else in the code. I do not have other views overlaying on my NSView. Thanks in advance!