mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Fix root comments post layout.
This commit is contained in:
@@ -341,7 +341,7 @@ QSize Message::performCountOptimalSize() {
|
|||||||
|
|
||||||
maxWidth = plainMaxWidth();
|
maxWidth = plainMaxWidth();
|
||||||
if (context() == Context::Replies && item->isDiscussionPost()) {
|
if (context() == Context::Replies && item->isDiscussionPost()) {
|
||||||
maxWidth = st::msgMaxWidth;
|
maxWidth = std::max(maxWidth, st::msgMaxWidth);
|
||||||
}
|
}
|
||||||
minHeight = hasVisibleText() ? item->_text.minHeight() : 0;
|
minHeight = hasVisibleText() ? item->_text.minHeight() : 0;
|
||||||
if (!mediaOnBottom) {
|
if (!mediaOnBottom) {
|
||||||
|
Reference in New Issue
Block a user