mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed issue with selecting text and word wrapping
This commit is contained in:
parent
91d1af6dd9
commit
eb26b1fbb3
1 changed files with 2 additions and 2 deletions
|
@ -203,8 +203,8 @@ void TextElement::addToContainer(MessageLayoutContainer &container, MessageEleme
|
|||
width += charWidth;
|
||||
}
|
||||
|
||||
container.addElement(getTextLayoutElement(text.mid(wordStart), word.width - lastWidth,
|
||||
this->hasTrailingSpace()));
|
||||
container.addElement(
|
||||
getTextLayoutElement(text.mid(wordStart), width, this->hasTrailingSpace()));
|
||||
container.breakLine();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue