fix: Limiting the height of a message that contains some RTL text causes a crash (#4168)
Co-authored-by: mohad12211 <51754973+mohad12211@users.noreply.github.com> Fixes https://github.com/Chatterino/chatterino2/issues/4166
This commit is contained in:
@@ -58,7 +58,7 @@ struct MessageLayoutContainer {
|
||||
void end();
|
||||
|
||||
void clear();
|
||||
bool canAddElements();
|
||||
bool canAddElements() const;
|
||||
void addElement(MessageLayoutElement *element);
|
||||
void addElementNoLineBreak(MessageLayoutElement *element);
|
||||
void breakLine();
|
||||
|
||||
Reference in New Issue
Block a user