TYPagerController icon indicating copy to clipboard operation
TYPagerController copied to clipboard

Fixed "Selected Font / Pagercontroller animation not working"

Open asomethings opened this issue 6 years ago • 0 comments

Problem

selectedFont wasn't working. The code was only checking selectedFont and sending font only the normal font

pagerController.scrollToController(at:animate:) Only Tab bar was animating. But I wanted pagerController to animate too.

Fix

Fixed the code by checking selectedTextFont and sending selectedTextFont if it exists. Added setContentOffset's animate value to animate variable

asomethings avatar Dec 03 '18 07:12 asomethings