diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-04-02 15:39:29 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-09-15 21:21:39 -0400 |
commit | 474e3d6e2af9c6ecc8f3921fea3a3b0f06c9338d (patch) | |
tree | 16c5b1cd5a9ca7a4b7cdb7d73ce4fb27e16170f8 | |
parent | 2bf6a9083e06feda8e4f613d04253a94debce694 (diff) |
Don't reply on double click in mobile mode
I figured that it made the most sense to just split everything into two separate TapHandlers.
-rw-r--r-- | resources/qml/TimelineRow.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml index 70ebf91d..4d317fc4 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml @@ -65,6 +65,7 @@ Item { } TapHandler { + enabled: !Settings.mobileMode onLongPressed: { if (Settings.mobileMode) mobileContextPopup.show(r, model); @@ -76,6 +77,11 @@ Item { gesturePolicy: TapHandler.ReleaseWithinBounds } + TapHandler { + enabled: Settings.mobileMode + onLongPressed: mobileContextPopup.show(timelineRowRoot, model); + } + RowLayout { id: row |