Skip to content

Commit

Permalink
adjusting some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbush committed Feb 5, 2021
1 parent 6d038f5 commit 75fd819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ setslices(struct Menu *menu)
int iconsize; /* requested icon size */
int xdiff, ydiff;

xdiff = pie.radius * 0.5 - (pie.radius * (cos(menu->half) * 0.75));
ydiff = pie.radius * (sin(menu->half) * 0.75);
xdiff = pie.radius * 0.5 - (pie.radius * (cos(menu->half) * 0.8));
ydiff = pie.radius * (sin(menu->half) * 0.8);

iconsize = sqrt(xdiff * xdiff + ydiff * ydiff);
iconsize = MIN(maxiconsize, iconsize);
Expand Down

0 comments on commit 75fd819

Please sign in to comment.