fixed splits not redrawing after font changed

This commit is contained in:
2017-12-17 03:26:23 +01:00
parent 266ad36de3
commit 5cb33647dc
4 changed files with 19 additions and 6 deletions
+2
View File
@@ -68,9 +68,11 @@ bool MessageRef::layout(int width, float dpiMultiplyer)
// update word sizes if needed
if (imagesChanged) {
this->updateImageSizes();
this->buffer = nullptr;
}
if (textChanged) {
this->updateTextSizes();
this->buffer = nullptr;
}
if (widthChanged || wordMaskChanged) {
this->buffer = nullptr;