13
0

Further limit size of shaded "+" icon

This commit is contained in:
Robin Gareus 2021-03-31 01:28:32 +02:00
parent c48c09c080
commit 723534f430
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -925,8 +925,8 @@ static void icon_plus_sign (cairo_t *cr, const int width, const int height, cons
static void icon_shaded_plus_sign (cairo_t *cr, const int width, const int height, const uint32_t fg_color)
{
const double lw = std::min (12., ceil (std::min (width, height) * .035));
const double ln = std::min (68., rint (std::min (width, height) * .2));
const double lw = std::min (10., ceil (std::min (width, height) * .035));
const double ln = std::min (57., rint (std::min (width, height) * .2));
const double lc = fmod (lw * .5, 1.0);
const double xc = rint (width * .5) - lc;
const double yc = rint (height * .5) - lc;