Authored by Justin R. Miller

fixes #202 move/zoom delegate notifications bug introduced in 1edc4248

... ... @@ -585,7 +585,10 @@
- (void)completeMoveEventAfterDelay:(NSTimeInterval)delay
{
[_moveDelegateQueue performSelector:@selector(setSuspended:) withObject:[NSNumber numberWithBool:NO] afterDelay:delay];
if ( ! delay)
[_moveDelegateQueue setSuspended:NO];
else
[_moveDelegateQueue performSelector:@selector(setSuspended:) withObject:[NSNumber numberWithBool:NO] afterDelay:delay];
}
- (void)registerZoomEventByUser:(BOOL)wasUserEvent
... ... @@ -621,7 +624,10 @@
- (void)completeZoomEventAfterDelay:(NSTimeInterval)delay
{
[_zoomDelegateQueue performSelector:@selector(setSuspended:) withObject:[NSNumber numberWithBool:NO] afterDelay:delay];
if ( ! delay)
[_zoomDelegateQueue setSuspended:NO];
else
[_zoomDelegateQueue performSelector:@selector(setSuspended:) withObject:[NSNumber numberWithBool:NO] afterDelay:delay];
}
#pragma mark -
... ...