Skip to content

Commit 8cd398f

Browse files
committed
[BUG] Scrolling of array bug fixed.
1 parent 2c5ee4f commit 8cd398f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TXScrollLabelView/TXScrollLabelView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ - (void)updateScrollingType_LeftRight {
643643
- (void)updateScrollingType_UpDown {
644644
if (self.contentOffset.y >= (self.upLabel.tx_height + self.scrollSpace)) {
645645
/** 更新 Label.text */
646-
if ((self.contentOffset.y > (self.upLabel.tx_height)) &&
646+
if ((self.contentOffset.y >= (self.upLabel.tx_height)) &&
647647
self.isArray) {
648648
[self updateTextForScrollViewWithSEL:@selector(updateUpDownScrollLabelLayoutWithText:labelType:)];
649649
}

0 commit comments

Comments
 (0)