summary refs log tree commit diff
path: root/resources/qml/TimelineRow.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-04-11 22:24:39 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-04-11 22:24:50 +0200
commit18e96d5c7d17e02589767843235737314306b41b (patch)
treecce70194e3d2b296d0796239373004f6c494be45 /resources/qml/TimelineRow.qml
parentMerge pull request #547 from LordMZTE/feature/notice (diff)
downloadnheko-18e96d5c7d17e02589767843235737314306b41b.tar.xz
Fix some TapHandler focus issues
Diffstat (limited to 'resources/qml/TimelineRow.qml')
-rw-r--r--resources/qml/TimelineRow.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index a66b994a..321be5b2 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -29,11 +29,13 @@ Item {
     TapHandler {
         acceptedButtons: Qt.RightButton
         onSingleTapped: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable)
+        gesturePolicy: TapHandler.ReleaseWithinBounds
     }
 
     TapHandler {
         onLongPressed: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable)
         onDoubleTapped: chat.model.reply = model.id
+        gesturePolicy: TapHandler.ReleaseWithinBounds
     }
 
     RowLayout {