Improve font size selection a bit.

This commit is contained in:
John Preston
2024-05-01 19:09:54 +04:00
parent 12a24dd473
commit 47800ee02d
2 changed files with 2 additions and 1 deletions
@@ -314,6 +314,7 @@ void Selector::validateCache(Entry &row) {
} else if (row.paletteVersion == version) {
return;
}
row.paletteVersion = version;
row.cache.fill(Qt::transparent);
auto font = style::ResolveFont(row.id, 0, st::boxFontSize);
auto p = QPainter(&row.cache);