mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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)
|
const auto cancel = released(0)
|
||||||
|| released(1)
|
|| released(1)
|
||||||
|| (touchscreen
|
|| (touches.size() != (touchscreen ? 1 : 2))
|
||||||
? (touches.size() != 1)
|
|
||||||
: (touches.size() <= 0 || touches.size() > 2))
|
|
||||||
|| (type == QEvent::TouchEnd)
|
|| (type == QEvent::TouchEnd)
|
||||||
|| (type == QEvent::TouchCancel);
|
|| (type == QEvent::TouchCancel);
|
||||||
if (cancel) {
|
if (cancel) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue