mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix displaying of collapsed archive row.
This commit is contained in:
@@ -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()
|
||||
|
||||
+1
-1
Submodule cmake updated: bec3e52392...5727743f9a
Reference in New Issue
Block a user