Correct issue where launches in portrait on iPad could result in NNW getting confused about being in three panel mode
This commit is contained in:
parent
4e0b114a81
commit
122e7853a7
|
@ -85,7 +85,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||||
var isThreePanelMode: Bool {
|
var isThreePanelMode: Bool {
|
||||||
return rootSplitViewController.traitCollection.userInterfaceIdiom == .pad &&
|
return rootSplitViewController.traitCollection.userInterfaceIdiom == .pad &&
|
||||||
!rootSplitViewController.isCollapsed &&
|
!rootSplitViewController.isCollapsed &&
|
||||||
rootSplitViewController.displayMode == .allVisible
|
UIDevice.current.orientation.isLandscape
|
||||||
}
|
}
|
||||||
|
|
||||||
var rootNode: Node {
|
var rootNode: Node {
|
||||||
|
|
Loading…
Reference in New Issue