On Apr 1, 2009, at 2:09 PM, Eric Gorr wrote:
On Apr 1, 2009, at 2:04 PM, Shawn Erickson wrote:
On Wed, Apr 1, 2009 at 7:28 AM, Eric Gorr <mail...@ericgorr.net> wrote:

In the real application, there are some cursors based on 64x64 images. When switching to these cursors, one sees the cursor quickly jump to a different position and then back to where it should be. This is very jarring and
shouldn't happen. Why it briefly jumps, I do not know.

Is the cursors hot spot staying in the same place or not? If the hot
spot is moving around I would tend to agree that this is problem. If
the hot spot is unchanged then I think things are operating correctly.

Why would it make sense for a cursor to only for an instant move to a different location 30 or more pixels away and then move back to where it is supposed to be before the next cursor change?

The Hot Spot should essentially be in the same place for both cursors.

After some experimentation, it looks like the transparency has something to do with it. It looks like NSCursor trims the transparent area from the edges so the actual image it uses is smaller than what you gave it.

I put a border around the image drawn with 1% opaqueness and I *think* the problem went away, but I have to run back to work now so I don't have time to look more closely.

--Andy

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to