diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-10-28 17:55:06 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-10-28 17:55:06 +0300 |
commit | 27cd92130a7cb72f08574dcc6fbc3033787e1fbf (patch) | |
tree | d074bf317786d0e3580315caa4bdd8b8eddf5c9f /iphone | |
parent | a85cd17c3e1f9e29a4343b30d7555e2cf1122628 (diff) |
[ios] Fixed recursion in MWMBookmarkCell.
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/Classes/MWMBookmarkCell.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/MWMBookmarkCell.mm b/iphone/Maps/Classes/MWMBookmarkCell.mm index ab7b2efcf7..cf377a7985 100644 --- a/iphone/Maps/Classes/MWMBookmarkCell.mm +++ b/iphone/Maps/Classes/MWMBookmarkCell.mm @@ -66,7 +66,7 @@ NSString * const kTextViewContentSizeKeyPath = @"contentSize"; auto const height = s.CGSizeValue.height; auto const boundedHeight = self.textViewHeight.constant; - if (height <= boundedHeight || self.isOpen) + if (height < boundedHeight || self.isOpen) [self stateOpen:YES]; else [self stateOpen:NO]; |