Re: [BUG] Cursor Flicker
Re: [BUG] Cursor Flicker
- Subject: Re: [BUG] Cursor Flicker
- From: Graham Cox <email@hidden>
- Date: Wed, 1 Apr 2009 12:18:40 +1100
On 01/04/2009, at 4:46 AM, Eric Gorr wrote:
There is a bug when changing from [[NSCursor arrowCursor] set] to a
NSCursor based on a 64x64 PNG.
Basically, there is some horrible cursor flickering.
For a demonstration of this bug, please check out the sample
application at:
http://ericgorr.net/cocoadev/CursorFlicker.zip
I have filed a bug as well: rdar://6741558
But it's not a bug - you are making it flicker by repeatedly switching
it between the two cursors.
WAYTTD?
As your while loop runs it will set the arrow cursor every 4th time (x
% 2), and the large cursor otherwise. It's impossible to tell what you
expected or intended, but overall it looks like a weird thing to do.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden