mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixes #307
This commit is contained in:
parent
0322c73eb5
commit
fffe9c93c4
1 changed files with 2 additions and 3 deletions
|
@ -110,9 +110,8 @@ void MessageLayoutContainer::breakLine()
|
||||||
for (size_t i = lineStart; i < this->elements.size(); i++) {
|
for (size_t i = lineStart; i < this->elements.size(); i++) {
|
||||||
MessageLayoutElement *element = this->elements.at(i).get();
|
MessageLayoutElement *element = this->elements.at(i).get();
|
||||||
|
|
||||||
bool isCompactEmote =
|
bool isCompactEmote = !(this->flags & Message::DisableCompactEmotes) &&
|
||||||
!(this->flags & Message::DisableCompactEmotes) &&
|
element->getCreator().getFlags() & MessageElement::EmoteImages;
|
||||||
(this->flags & element->getCreator().getFlags()) & MessageElement::EmoteImages;
|
|
||||||
|
|
||||||
int yExtra = 0;
|
int yExtra = 0;
|
||||||
if (isCompactEmote) {
|
if (isCompactEmote) {
|
||||||
|
|
Loading…
Reference in a new issue