Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #61 from iamcam/master

Fixed Issue #60
  • Loading branch information...
commit 7e96dca286185e4fc7ee90d99e0e77eee02f5596 2 parents 87f8f48 + 1c8057a
Jim Dovey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Examples/SpringBoard/Classes/SpringBoardViewController.m
2  Examples/SpringBoard/Classes/SpringBoardViewController.m
View
@@ -230,7 +230,7 @@ - (void) moveActionGestureRecognizerStateChanged: (UIGestureRecognizer *) recogn
CGRect r = [_gridView rectForItemAtIndex: _emptyCellIndex];
CGRect f = _draggingCell.frame;
f.origin.x = r.origin.x + floorf((r.size.width - f.size.width) * 0.5);
- f.origin.y = r.origin.y + floorf((r.size.height - f.size.height) * 0.5);
+ f.origin.y = r.origin.y + floorf((r.size.height - f.size.height) * 0.5) - _gridView.contentOffset.y;
NSLog( @"Gesture ended-- moving to %@", NSStringFromCGRect(f) );
_draggingCell.frame = f;
Please sign in to comment.
Something went wrong with that request. Please try again.