File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Telegram/SourceFiles/history/view/reactions Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ For license and copyright information please follow this link:
7
7
*/
8
8
#include " history/view/reactions/history_view_reactions.h"
9
9
10
+ #include " rabbit/settings/rabbit_settings.h"
11
+
10
12
#include " history/history_item.h"
11
13
#include " history/history.h"
12
14
#include " history/view/history_view_message.h"
@@ -621,7 +623,8 @@ void InlineList::paintSingleBg(
621
623
float64 opacity) const {
622
624
p.setOpacity (opacity);
623
625
if (!areTags ()) {
624
- const auto radius = fill.height () / 2 .;
626
+ // const auto radius = fill.height() / 2.;
627
+ const auto radius = RabbitSettings::JsonSettings::GetInt (" userpic_roundness" ) / 100 . * fill.height ();
625
628
p.setBrush (color);
626
629
p.drawRoundedRect (fill, radius, radius);
627
630
return ;
You can’t perform that action at this time.
0 commit comments