You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Enable deceleration
2. Drag and release twice, quickly
3. Deceleration timer is started twice (once for each touchesEnded), the
latter overwriting the reference to the former.
Fix is to wrap the timer starting code in a test:
if ( !_decelerationTimer ) {
_decelerationTimer = [NSTimer scheduledTimerWithTimeInterval:0.01f
target:self
selector:@selector(incrementDeceleration:)
userInfo:nil
repeats:YES];
}
Original issue reported on code.google.com by [email protected] on 11 Oct 2010 at 5:14
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 11 Oct 2010 at 5:14The text was updated successfully, but these errors were encountered: