Call topViewHorizontalCenterlWillChange

- Does not change any behavior, but resetTopView will change the top view horizontal.
- Consider firing a topViewWillReset.
This commit is contained in:
Mike Enriquez
2012-03-23 11:23:25 -04:00
parent 4aff9d1333
commit ea5e2ebbee

View File

@@ -332,6 +332,8 @@ NSString *const ECSlidingViewTopDidReset = @"ECSlidingViewTopDidReset";
- (void)resetTopViewWithAnimations:(void(^)())animations onComplete:(void(^)())complete
{
[self topViewHorizontalCenterWillChange:self.resettedCenter];
[UIView animateWithDuration:0.25f animations:^{
if (animations) {
animations();