mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +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