mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
In archive allow scroll-down-by-pinned-drag.
This commit is contained in:
parent
6102795856
commit
4dae89310d
1 changed files with 2 additions and 0 deletions
|
@ -1078,6 +1078,8 @@ bool InnerWidget::updateReorderPinned(QPoint localPosition) {
|
||||||
const auto delta = [&] {
|
const auto delta = [&] {
|
||||||
if (localPosition.y() < _visibleTop) {
|
if (localPosition.y() < _visibleTop) {
|
||||||
return localPosition.y() - _visibleTop;
|
return localPosition.y() - _visibleTop;
|
||||||
|
} else if (_openedFolder && localPosition.y() > _visibleBottom) {
|
||||||
|
return localPosition.y() - _visibleBottom;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}();
|
}();
|
||||||
|
|
Loading…
Add table
Reference in a new issue