fixed msgs not layouting after changing settings

This commit is contained in:
2017-12-17 01:54:15 +01:00
parent 6b46d12558
commit dd11c56b9a

View file

@ -70,7 +70,7 @@ bool MessageRef::layout(int width, float dpiMultiplyer)
if (textChanged) {
this->updateTextSizes();
}
if (widthChanged) {
if (widthChanged || wordMaskChanged) {
this->buffer = nullptr;
}