mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Partially support correct rounding near unwrapped media.
This commit is contained in:
@@ -514,8 +514,8 @@ void ConfirmContactBox::prepare() {
|
||||
|
||||
auto maxWidth = 0;
|
||||
if (_comment) {
|
||||
_comment->setAttachToNext(true);
|
||||
_contact->setAttachToPrevious(true);
|
||||
_comment->setAttachToNext(true, _contact.get());
|
||||
_contact->setAttachToPrevious(true, _comment.get());
|
||||
_comment->initDimensions();
|
||||
accumulate_max(maxWidth, _comment->maxWidth());
|
||||
}
|
||||
|
Reference in New Issue
Block a user