mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Allowed to swipe-to-reply only with started initial of touches.
This commit is contained in:
parent
a97d5e80c7
commit
2116e04af5
1 changed files with 1 additions and 3 deletions
|
@ -191,9 +191,7 @@ void SetupSwipeHandler(
|
|||
};
|
||||
const auto cancel = released(0)
|
||||
|| released(1)
|
||||
|| (touchscreen
|
||||
? (touches.size() != 1)
|
||||
: (touches.size() <= 0 || touches.size() > 2))
|
||||
|| (touches.size() != (touchscreen ? 1 : 2))
|
||||
|| (type == QEvent::TouchEnd)
|
||||
|| (type == QEvent::TouchCancel);
|
||||
if (cancel) {
|
||||
|
|
Loading…
Add table
Reference in a new issue