mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-17 14:36:45 +00:00
Collapse forum row height in narrow layout.
This commit is contained in:
@@ -48,7 +48,8 @@ public:
|
||||
not_null<Row*> addByName(Key key);
|
||||
bool moveToTop(Key key);
|
||||
void adjustByDate(not_null<Row*> row);
|
||||
void updateHeight(not_null<Row*> row);
|
||||
bool updateHeight(Key key, float64 narrowRatio);
|
||||
bool updateHeights(float64 narrowRatio);
|
||||
bool remove(Key key, Row *replacedBy = nullptr);
|
||||
|
||||
using const_iterator = std::vector<not_null<Row*>>::const_iterator;
|
||||
@@ -76,6 +77,7 @@ private:
|
||||
|
||||
SortMode _sortMode = SortMode();
|
||||
FilterId _filterId = 0;
|
||||
float64 _narrowRatio = 0.;
|
||||
std::vector<not_null<Row*>> _rows;
|
||||
std::map<Key, std::unique_ptr<Row>> _rowByKey;
|
||||
|
||||
|
Reference in New Issue
Block a user