mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Smooth folder icon scale.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user