mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-23 16:56:55 +00:00
In archive allow scroll-down-by-pinned-drag.
This commit is contained in:
parent
6102795856
commit
4dae89310d
@ -1078,6 +1078,8 @@ bool InnerWidget::updateReorderPinned(QPoint localPosition) {
|
||||
const auto delta = [&] {
|
||||
if (localPosition.y() < _visibleTop) {
|
||||
return localPosition.y() - _visibleTop;
|
||||
} else if (_openedFolder && localPosition.y() > _visibleBottom) {
|
||||
return localPosition.y() - _visibleBottom;
|
||||
}
|
||||
return 0;
|
||||
}();
|
||||
|
Loading…
Reference in New Issue
Block a user