Move check for RoomPage being visible on the pagestack to enabled so the RoomDrawer can't be swiped on mobile.
This commit is contained in:
@@ -158,8 +158,8 @@ Kirigami.ApplicationWindow {
|
||||
dim = false
|
||||
}
|
||||
}
|
||||
enabled: RoomManager.hasOpenRoom && pageStack.layers.depth < 2 && pageStack.depth < 3
|
||||
handleVisible: enabled && (pageStack.visibleItems.length > 1 || pageStack.currentIndex > 0)
|
||||
enabled: RoomManager.hasOpenRoom && pageStack.layers.depth < 2 && pageStack.depth < 3 && (pageStack.visibleItems.length > 1 || pageStack.currentIndex > 0)
|
||||
handleVisible: enabled
|
||||
}
|
||||
|
||||
readonly property int defaultPageWidth: Kirigami.Units.gridUnit * 17
|
||||
|
||||
Reference in New Issue
Block a user