From 8cd398f7a4c65e180148c165b594291d40c7870f Mon Sep 17 00:00:00 2001 From: tingxins Date: Thu, 25 May 2017 23:40:25 +0800 Subject: [PATCH] [BUG] Scrolling of array bug fixed. --- TXScrollLabelView/TXScrollLabelView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TXScrollLabelView/TXScrollLabelView.m b/TXScrollLabelView/TXScrollLabelView.m index a6b08fb..d655dd5 100644 --- a/TXScrollLabelView/TXScrollLabelView.m +++ b/TXScrollLabelView/TXScrollLabelView.m @@ -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:)]; }