Skip to content

Commit

Permalink
Released TSMessages 0.9.3
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:toursprung/TSMessages
  • Loading branch information
KrauseFx committed May 28, 2013
2 parents 9b2c7f5 + 6111825 commit 3187f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/TSMessage.m
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ - (void)fadeOutNotification:(TSMessageView *)currentView
else
{
fadeOutToPoint = CGPointMake(currentView.center.x,
currentView.viewController.view.frame.size.height);
currentView.viewController.view.bounds.size.height);
}

[UIView animateWithDuration:kTSMessageAnimationDuration animations:^
Expand Down
2 changes: 1 addition & 1 deletion Views/TSMessageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ - (id)initWithTitle:(NSString *)title

if (self.messagePosition == TSMessageNotificationPositionBottom)
{
topPosition = self.viewController.view.frame.size.height;
topPosition = self.viewController.view.bounds.size.height;
}

self.frame = CGRectMake(0.0, topPosition, screenWidth, actualHeight);
Expand Down

0 comments on commit 3187f47

Please sign in to comment.