mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Improve touchscreen chats list stories physics.
This commit is contained in:
@@ -479,6 +479,10 @@ rpl::producer<bool> InnerWidget::storiesExpandedRequests() const {
|
||||
_storiesExpandedRequests.events());
|
||||
}
|
||||
|
||||
void InnerWidget::setTouchScrollActive(bool active) {
|
||||
_stories->setTouchScrollActive(active);
|
||||
}
|
||||
|
||||
int InnerWidget::defaultScrollTop() const {
|
||||
return storiesShown()
|
||||
? std::max(_stories->height() - st::dialogsStories.height, 0)
|
||||
|
Reference in New Issue
Block a user