Make three panel mode landscape test more accurate

This commit is contained in:
Maurice Parker committed 2019-11-19 17:20:24 -06:00
1 parent 7148aac925
commit 504bb82f80
1 file changed
+1 -1
+1 -1
View File
@@ -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()
}