mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix root comments post layout.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user