added wip effect for (dis/re)connected messages

This commit is contained in:
fourtf
2018-12-04 21:07:55 +01:00
parent 96328a5e25
commit fc93d7b738
9 changed files with 172 additions and 22 deletions
@@ -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,7 +165,8 @@ 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(