Skip to content

Commit

Permalink
Fixed #70.
Browse files Browse the repository at this point in the history
  • Loading branch information
anlaital committed Nov 27, 2013
1 parent 55afcf6 commit 46e10fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ - (UIEdgeInsets)TPKeyboardAvoiding_contentInsetForKeyboard {
TPKeyboardAvoidingState *state = self.keyboardAvoidingState;
UIEdgeInsets newInset = self.contentInset;
CGRect keyboardRect = state.keyboardRect;
newInset.bottom = keyboardRect.size.height - (CGRectGetMaxY(keyboardRect) - CGRectGetMaxY(self.bounds));
newInset.bottom = keyboardRect.size.height - (CGRectGetMaxY(keyboardRect) - self.bounds.size.height);
return newInset;
}

Expand Down

0 comments on commit 46e10fc

Please sign in to comment.