From 9eb7a4295ec467408dd34d49a64d491e6490d97e Mon Sep 17 00:00:00 2001 From: Jacky-LinPeng <540933120@qq.com> Date: Tue, 23 Mar 2021 11:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E4=BD=93=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TYPagerController/TabPager/TYTabPagerBarLayout.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TYPagerControllerDemo/TYPagerController/TabPager/TYTabPagerBarLayout.m b/TYPagerControllerDemo/TYPagerController/TabPager/TYTabPagerBarLayout.m index d48b005..f8eb31a 100644 --- a/TYPagerControllerDemo/TYPagerController/TabPager/TYTabPagerBarLayout.m +++ b/TYPagerControllerDemo/TYPagerController/TabPager/TYTabPagerBarLayout.m @@ -207,7 +207,7 @@ - (void)transitionFromCell:(UICollectionViewCell *)fr fromCell.transform = CGAffineTransformMakeScale(_selectFontScale, _selectFontScale); } if (toCell) { - toCell.titleLabel.font = _normalTextFont; + toCell.titleLabel.font = _selectedTextFont; toCell.titleLabel.textColor = _selectedTextColor ? _selectedTextColor : _normalTextColor; toCell.transform = CGAffineTransformIdentity; }