mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Smooth folder icon scale.
This commit is contained in:
parent
739123dedc
commit
090f83ae0d
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ void FilterRowButton::paintEvent(QPaintEvent *e) {
|
||||||
const auto icon = Ui::LookupFilterIcon(_icon).normal;
|
const auto icon = Ui::LookupFilterIcon(_icon).normal;
|
||||||
|
|
||||||
// For now.
|
// For now.
|
||||||
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
const auto iconWidth = icon->width() - style::ConvertScale(9);
|
const auto iconWidth = icon->width() - style::ConvertScale(9);
|
||||||
const auto scale = st::settingsIconAdd.width() / float64(iconWidth);
|
const auto scale = st::settingsIconAdd.width() / float64(iconWidth);
|
||||||
p.translate(
|
p.translate(
|
||||||
|
|
Loading…
Add table
Reference in a new issue