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

View file

@ -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);

@ -1 +1 @@
Subproject commit 08b56a17892d4c9c6b7ef87fcffbb64090e9ce2a
Subproject commit 4ddff63a9b6cd2e2787995611f1ee4b145bdb504