Improve touch-screen stories overscroll.

This commit is contained in:
John Preston 2023-07-11 21:42:08 +04:00
parent dfd1aa5cd6
commit 05cf8d034e
2 changed files with 2 additions and 3 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit 427fc4c8f7c8b92cca900e0270718f83fcb16e35
Subproject commit 6af98c08025027cc3e7833e068db47670aa34dab