mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix displaying of collapsed archive row.
This commit is contained in:
parent
f9a14fc6bc
commit
116a598508
2 changed files with 4 additions and 2 deletions
|
@ -563,7 +563,9 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
|
|||
const auto promoted = fixedOnTopCount();
|
||||
const auto reorderingPinned = (_aboveIndex >= 0)
|
||||
&& !_pinnedRows.empty();
|
||||
const auto reorderingIndex = promoted + _aboveIndex;
|
||||
const auto reorderingIndex = reorderingPinned
|
||||
? (promoted + _aboveIndex)
|
||||
: -1;
|
||||
const auto reorderingRow = (reorderingIndex >= 0
|
||||
&& reorderingIndex < list.size())
|
||||
? (list.cbegin() + reorderingIndex)->get()
|
||||
|
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
|||
Subproject commit bec3e5239285b9ef43e3ca59bc50ae8aa55664bf
|
||||
Subproject commit 5727743f9a3d3f01b275eb77f39e7a24b9671c4d
|
Loading…
Add table
Reference in a new issue