From 3c2b2c7988ee87ddcaffdf61a59c00ca167760f0 Mon Sep 17 00:00:00 2001 From: Marco Ordonez Date: Sat, 4 Mar 2017 09:33:48 -0500 Subject: [PATCH] Fix for not breaking the animation when moving from position 2 to 0 in menu --- Pod/Classes/PagingViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pod/Classes/PagingViewController.swift b/Pod/Classes/PagingViewController.swift index c82a8c3d..276c2d67 100644 --- a/Pod/Classes/PagingViewController.swift +++ b/Pod/Classes/PagingViewController.swift @@ -204,8 +204,8 @@ open class PagingViewController: UIViewController { // MARK: - Internal internal func relayoutPagingViewControllers() { - constructPagingViewControllers() - layoutPagingViewControllers() +// constructPagingViewControllers() +// layoutPagingViewControllers() view.setNeedsLayout() view.layoutIfNeeded() }