mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Improve font size selection a bit.
This commit is contained in:
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) {
|
} else if (row.paletteVersion == version) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
row.paletteVersion = version;
|
||||||
row.cache.fill(Qt::transparent);
|
row.cache.fill(Qt::transparent);
|
||||||
auto font = style::ResolveFont(row.id, 0, st::boxFontSize);
|
auto font = style::ResolveFont(row.id, 0, st::boxFontSize);
|
||||||
auto p = QPainter(&row.cache);
|
auto p = QPainter(&row.cache);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 08b56a17892d4c9c6b7ef87fcffbb64090e9ce2a
|
Subproject commit 4ddff63a9b6cd2e2787995611f1ee4b145bdb504
|
Loading…
Add table
Reference in a new issue