Smooth folder icon scale.
This commit is contained in:
parent
739123dedc
commit
090f83ae0d
|
@ -301,6 +301,7 @@ void FilterRowButton::paintEvent(QPaintEvent *e) {
|
|||
const auto icon = Ui::LookupFilterIcon(_icon).normal;
|
||||
|
||||
// For now.
|
||||
auto hq = PainterHighQualityEnabler(p);
|
||||
const auto iconWidth = icon->width() - style::ConvertScale(9);
|
||||
const auto scale = st::settingsIconAdd.width() / float64(iconWidth);
|
||||
p.translate(
|
||||
|
|
Loading…
Reference in New Issue