diff --git a/src/messages/layouts/MessageLayoutContainer.cpp b/src/messages/layouts/MessageLayoutContainer.cpp index f24d05e26..c2b43f357 100644 --- a/src/messages/layouts/MessageLayoutContainer.cpp +++ b/src/messages/layouts/MessageLayoutContainer.cpp @@ -157,7 +157,7 @@ void MessageLayoutContainer::breakLine() int yExtra = 0; if (isCompactEmote) { - // yExtra = (COMPACT_EMOTES_OFFSET / 2) * this->scale_; + yExtra = (COMPACT_EMOTES_OFFSET / 2) * this->scale_; } // if (element->getCreator().getFlags() & @@ -165,8 +165,7 @@ void MessageLayoutContainer::breakLine() // { if (element->getRect().height() < this->textLineHeight_) { - // yExtra -= (this->textLineHeight_ - element->getRect().height()) / - // 2; + yExtra -= (this->textLineHeight_ - element->getRect().height()) / 2; } element->setPosition(