mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Improve touch-screen stories overscroll.
This commit is contained in:
@@ -689,8 +689,7 @@ QRect List::countSmallGeometry() const {
|
||||
const auto &st = _st.small;
|
||||
const auto layout = const_cast<List*>(this)->computeLayout();
|
||||
const auto count = layout.endIndexSmall
|
||||
- layout.startIndexSmall
|
||||
- layout.smallSkip;
|
||||
- std::max(layout.startIndexSmall, layout.smallSkip);
|
||||
const auto width = st.left
|
||||
+ st.photoLeft
|
||||
+ st.photo + (count - 1) * st.shift
|
||||
|
Submodule Telegram/lib_ui updated: 427fc4c8f7...6af98c0802
Reference in New Issue
Block a user