From 504bb82f80aadb2d73d7f22e7c7a304cc8ad60de Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 19 Nov 2019 17:20:24 -0600 Subject: [PATCH] Make three panel mode landscape test more accurate --- iOS/SceneCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index d4287e862..71bd4dc91 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -329,7 +329,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { guard rootSplitViewController.traitCollection.userInterfaceIdiom == .pad && !rootSplitViewController.isCollapsed else { return } - if size.width > size.height { + if (size.width / size.height) > 1.2 { if !isThreePanelMode { transitionToThreePanelMode() }