From 3e69f1fc1da01f5896075ada513816a430f8329b Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Mon, 16 Mar 2015 20:06:53 -0700 Subject: [PATCH] clean up from PR #841 --- .../Controllers/JSQMessagesKeyboardController.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m b/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m index f3f662a6c..c8db67131 100644 --- a/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m +++ b/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m @@ -284,14 +284,8 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N if (CGRectEqualToRect(newKeyboardFrame, oldKeyboardFrame) || CGRectIsNull(newKeyboardFrame)) { return; } - - // we should convert CGRect keyboardEndFrameConverted = [self.contextView convertRect:newKeyboardFrame fromView:nil]; - - // do not convert frame to contextView coordinates here - // KVO is triggered during panning (see below) - // panning occurs in contextView coordinates already [self jsq_notifyKeyboardFrameNotificationForFrame:keyboardEndFrameConverted]; } }