Skip to content

Commit

Permalink
[BUG] Scrolling of array bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
tingxins committed May 25, 2017
1 parent 2c5ee4f commit 8cd398f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TXScrollLabelView/TXScrollLabelView.m
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ - (void)updateScrollingType_LeftRight {
- (void)updateScrollingType_UpDown {
if (self.contentOffset.y >= (self.upLabel.tx_height + self.scrollSpace)) {
/** 更新 Label.text */
if ((self.contentOffset.y > (self.upLabel.tx_height)) &&
if ((self.contentOffset.y >= (self.upLabel.tx_height)) &&
self.isArray) {
[self updateTextForScrollViewWithSEL:@selector(updateUpDownScrollLabelLayoutWithText:labelType:)];
}
Expand Down

0 comments on commit 8cd398f

Please sign in to comment.