fixed false triggering of swipes for the main menu drawer of PageHome

This commit is contained in:
vladimir.kuznetsov 2023-09-09 22:41:36 +05:00
parent 89096554e8
commit f751657903

View file

@ -129,7 +129,13 @@ PageType {
DrawerType {
id: menu
interactive: true
interactive: {
if (stackView && stackView.currentItem) {
return (stackView.currentItem.objectName === PageController.getPagePath(PageEnum.PageHome)) ? true : false
} else {
return false
}
}
dragMargin: buttonBackground.height + 56 // page start tabBar height
width: parent.width