mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Support touchscreen pinned chats reordering.
This commit is contained in:
@@ -658,8 +658,7 @@ void Widget::setupScrollUpButton() {
|
||||
|
||||
void Widget::setupTouchChatPreview() {
|
||||
_scroll->setCustomTouchProcess([=](not_null<QTouchEvent*> e) {
|
||||
_inner->processTouchEvent(e);
|
||||
return false;
|
||||
return _inner->processTouchEvent(e);
|
||||
});
|
||||
_inner->touchCancelRequests() | rpl::start_with_next([=] {
|
||||
QTouchEvent ev(QEvent::TouchCancel);
|
||||
|
||||
Reference in New Issue
Block a user