• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -magnifyWithEvent: changed in Yosemite?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -magnifyWithEvent: changed in Yosemite?


  • Subject: Re: -magnifyWithEvent: changed in Yosemite?
  • From: Steve Mills <email@hidden>
  • Date: Sun, 16 Nov 2014 17:34:41 -0600

> On Nov 16, 2014, at 16:58, Graham Cox <email@hidden> wrote:
>
> I've tried throtlling the events down so that those that arrive too quickly are discarded. This seems to work, my zooming is still smooth and no longer lags even when I handle only at about 1/10s. This might be a reasonable solution, but if there is a better one, it'd be nice to know.

That's what I did as well. I keep a running sum of the zoom values and only apply it every so many milliseconds, and install a timer that fires to take care of the last few zooms that might not have been applied. Yes, it's pretty ridiculous how quickly they send the events in 10.10, rather than doing any sort of throttling themselves. 1 second's worth of pinching can result in zoom redraws that seem to slowly continue on for many seconds. Bad Apple! No biscuit!

Steve via iPad


_______________________________________________

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


References: 
 >-magnifyWithEvent: changed in Yosemite? (From: Graham Cox <email@hidden>)
 >Re: -magnifyWithEvent: changed in Yosemite? (From: Kyle Sluder <email@hidden>)
 >Re: -magnifyWithEvent: changed in Yosemite? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: -magnifyWithEvent: changed in Yosemite?
  • Next by Date: What changed in 10.10 scrollView / scrollPoint?
  • Previous by thread: Re: -magnifyWithEvent: changed in Yosemite?
  • Next by thread: What changed in 10.10 scrollView / scrollPoint?
  • Index(es):
    • Date
    • Thread