Reimplement swipe to exit sidepane via DragHandler

This commit is contained in:
miruka
2021-01-15 14:46:44 -04:00
parent 7029148c87
commit e4959f503c
3 changed files with 66 additions and 1 deletions

View File

@@ -35,6 +35,11 @@ HDrawer {
when: ! mainUI.accountsPresent
}
HDrawerSwipeHandler {
drawer: mainPane
onCloseRequest: mainPane.toggleFocus()
}
HColumnLayout {
anchors.fill: parent