Skip to content

Commit

Permalink
Update userpic_button.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
xmdnx authored Dec 5, 2023
1 parent ece5b12 commit afd515b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/ui/controls/userpic_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void SetupSubButtonBackground(
auto radius = RabbitSettings::JsonSettings::GetInt("userpic_roundness") / 100;
p.setBrush(st::boxBg);
p.setPen(Qt::NoPen);
p.drawEllipse(background->rect(), size * radius, size * radius);
p.drawRoundedRect(background->rect(), size * radius, size * radius);
}, background->lifetime());

upload->positionValue(
Expand Down

0 comments on commit afd515b

Please sign in to comment.