Skip to content

Commit 3e69f1f

Browse files
committed
clean up from PR jessesquires#841
1 parent acb047f commit 3e69f1f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,14 +284,8 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
284284
if (CGRectEqualToRect(newKeyboardFrame, oldKeyboardFrame) || CGRectIsNull(newKeyboardFrame)) {
285285
return;
286286
}
287-
288287

289-
// we should convert
290288
CGRect keyboardEndFrameConverted = [self.contextView convertRect:newKeyboardFrame fromView:nil];
291-
292-
// do not convert frame to contextView coordinates here
293-
// KVO is triggered during panning (see below)
294-
// panning occurs in contextView coordinates already
295289
[self jsq_notifyKeyboardFrameNotificationForFrame:keyboardEndFrameConverted];
296290
}
297291
}

0 commit comments

Comments
 (0)