mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix overscroll in topics list.
This commit is contained in:
parent
7d98acb4a3
commit
39a1743e7e
1 changed files with 3 additions and 2 deletions
|
@ -226,9 +226,10 @@ Widget::Widget(
|
|||
const auto makeChildListShown = [](PeerId peerId, float64 shown) {
|
||||
return InnerWidget::ChildListShown{ peerId, shown };
|
||||
};
|
||||
using OverscrollType = Ui::ElasticScroll::OverscrollType;
|
||||
_scroll->setOverscrollTypes(
|
||||
Ui::ElasticScroll::OverscrollType::Virtual,
|
||||
Ui::ElasticScroll::OverscrollType::Real);
|
||||
_stories ? OverscrollType::Virtual : OverscrollType::Real,
|
||||
OverscrollType::Real);
|
||||
_inner = _scroll->setOwnedWidget(object_ptr<InnerWidget>(
|
||||
this,
|
||||
controller,
|
||||
|
|
Loading…
Add table
Reference in a new issue