Skip to content

Commit 3187f47

Browse files
committed
Released TSMessages 0.9.3
Merge branch 'master' of github.com:toursprung/TSMessages
2 parents 9b2c7f5 + 6111825 commit 3187f47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Classes/TSMessage.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ - (void)fadeOutNotification:(TSMessageView *)currentView
280280
else
281281
{
282282
fadeOutToPoint = CGPointMake(currentView.center.x,
283-
currentView.viewController.view.frame.size.height);
283+
currentView.viewController.view.bounds.size.height);
284284
}
285285

286286
[UIView animateWithDuration:kTSMessageAnimationDuration animations:^

Views/TSMessageView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ - (id)initWithTitle:(NSString *)title
237237

238238
if (self.messagePosition == TSMessageNotificationPositionBottom)
239239
{
240-
topPosition = self.viewController.view.frame.size.height;
240+
topPosition = self.viewController.view.bounds.size.height;
241241
}
242242

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

0 commit comments

Comments
 (0)