2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix build with GCC.

This commit is contained in:
John Preston
2023-07-20 20:12:41 +04:00
parent d392c7e8f0
commit 75f542747d
4 changed files with 0 additions and 6 deletions

View File

@@ -233,7 +233,6 @@ List::Layout List::computeLayout(float64 expanded) const {
const auto smallCount = std::min(
kSmallThumbsShown,
itemsCount - smallSkip);
const auto smallWidth = st.photo + (smallCount - 1) * st.shift;
const auto leftSmall = st.left - (smallSkip ? st.shift : 0);
const auto leftFull = full.left - _scrollLeft + skipSide;
const auto startIndexFull = std::max(-leftFull, 0) / singleFull;