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.
android
Loren Burkholder 4 years ago
parent 2bf6a9083e
commit 474e3d6e2a
  1. 6
      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

Loading…
Cancel
Save