mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Improve touch-screen stories overscroll.
This commit is contained in:
parent
dfd1aa5cd6
commit
05cf8d034e
2 changed files with 2 additions and 3 deletions
|
@ -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
|
Loading…
Add table
Reference in a new issue