mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
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.
This commit is contained in:
parent
2bf6a9083e
commit
474e3d6e2a
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue