From 8bbabbacdbdf3d43b918b24191f85a1b0802c740 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 30 Oct 2019 14:38:39 -0500 Subject: [PATCH] Don't execute 3 panel mode changes in an animation block --- iOS/RootSplitViewController.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/iOS/RootSplitViewController.swift b/iOS/RootSplitViewController.swift index cf7040c42..e4e7920ae 100644 --- a/iOS/RootSplitViewController.swift +++ b/iOS/RootSplitViewController.swift @@ -15,9 +15,7 @@ class RootSplitViewController: UISplitViewController { override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) - coordinator.animate(alongsideTransition: { [weak self] context in - self?.coordinator.configureThreePanelMode(for: size) - }) + self.coordinator.configureThreePanelMode(for: size) } // MARK: Keyboard Shortcuts