2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +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

@@ -89,9 +89,11 @@ public:
return _top;
}
[[nodiscard]] int height() const {
Expects(_height != 0);
return _height;
}
void recountHeight();
void recountHeight(float64 narrowRatio);
void updateCornerBadgeShown(
not_null<PeerData*> peer,