mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Fix root comments post layout.
This commit is contained in:
parent
f7e4f18e9b
commit
1e31cda78d
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ QSize Message::performCountOptimalSize() {
|
|||
|
||||
maxWidth = plainMaxWidth();
|
||||
if (context() == Context::Replies && item->isDiscussionPost()) {
|
||||
maxWidth = st::msgMaxWidth;
|
||||
maxWidth = std::max(maxWidth, st::msgMaxWidth);
|
||||
}
|
||||
minHeight = hasVisibleText() ? item->_text.minHeight() : 0;
|
||||
if (!mediaOnBottom) {
|
||||
|
|
Loading…
Add table
Reference in a new issue