2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Collapse forum row height in narrow layout.

This commit is contained in:
John Preston
2022-12-01 21:36:26 +04:00
parent c200263f2e
commit f0b8ccbd71
12 changed files with 92 additions and 43 deletions

View File

@@ -112,6 +112,7 @@ public:
void selectSkipPage(int32 pixels, int32 direction);
void dragLeft();
void setNarrowRatio(float64 narrowRatio);
void clearFilter();
void refresh(bool toTop = false);
@@ -235,7 +236,7 @@ private:
void repaintDialogRow(FilterId filterId, not_null<Row*> row);
void repaintDialogRow(RowDescriptor row);
void refreshDialogRow(RowDescriptor row);
void updateFilteredEntryHeight(not_null<Entry*> entry);
bool updateEntryHeight(not_null<Entry*> entry);
void clearMouseSelection(bool clearSelection = false);
void mousePressReleased(
@@ -496,6 +497,8 @@ private:
rpl::event_stream<> _refreshHashtagsRequests;
rpl::variable<ChildListShown> _childListShown;
float64 _narrowRatio = 0.;
bool _geometryInited = false;
base::unique_qptr<Ui::PopupMenu> _menu;