Fix rounding in boost features box.

This commit is contained in:
John Preston 2024-03-13 20:50:19 +04:00
parent b20b3142a2
commit c4fc43ccc0

View file

@ -127,6 +127,7 @@ namespace {
st::boostLevelBadge.style.font->height
).marginsAdded(st::boostLevelBadge.margin);
auto p = QPainter(label);
auto hq = PainterHighQualityEnabler(p);
auto gradient = QLinearGradient(
rect.topLeft(),
rect.topRight());