Fix user context menu
This commit is contained in:
parent
ad19bf3a30
commit
57a15152d8
1 changed files with 2 additions and 6 deletions
|
|
@ -304,23 +304,19 @@ Page {
|
|||
}
|
||||
}
|
||||
TapHandler {
|
||||
id: userTapHandler
|
||||
|
||||
acceptedButtons: Qt.LeftButton
|
||||
gesturePolicy: TapHandler.ReleaseWithinBounds
|
||||
margin: -Nheko.paddingSmall
|
||||
|
||||
onLongPressed: userInfoMenu.popup(userTapHandler)
|
||||
onLongPressed: userInfoMenu.popup(userInfoPanel)
|
||||
onSingleTapped: userInfoPanel.openUserProfile()
|
||||
}
|
||||
TapHandler {
|
||||
id: userTapHandler2
|
||||
|
||||
acceptedButtons: Qt.RightButton
|
||||
gesturePolicy: TapHandler.ReleaseWithinBounds
|
||||
margin: -Nheko.paddingSmall
|
||||
|
||||
onSingleTapped: userInfoMenu.popup(userTapHandler2)
|
||||
onSingleTapped: userInfoMenu.popup(userInfoPanel)
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue