Fix RoomDrawer Button Visibility
Change the condition for RoomDrawer handle visibility to pageStack.visibleItems.length > 1 rather than wideMode so that it is always visible when the window is wide enough to have 2 pages shown. BUG: 455976
This commit is contained in:
@@ -159,7 +159,7 @@ Kirigami.ApplicationWindow {
|
||||
}
|
||||
}
|
||||
enabled: RoomManager.hasOpenRoom && pageStack.layers.depth < 2 && pageStack.depth < 3
|
||||
handleVisible: enabled && pageStack.layers.depth < 2 && pageStack.depth < 3 && (root.wideScreen || pageStack.currentIndex > 0)
|
||||
handleVisible: enabled && (pageStack.visibleItems.length > 1 || pageStack.currentIndex > 0)
|
||||
}
|
||||
|
||||
readonly property int defaultPageWidth: Kirigami.Units.gridUnit * 17
|
||||
|
||||
Reference in New Issue
Block a user