mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-22 08:16:56 +00:00
Fix overscroll in topics list.
This commit is contained in:
parent
7d98acb4a3
commit
39a1743e7e
@ -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…
Reference in New Issue
Block a user