From 723534f430862794bfc9db61b0eb5ff00c60d36e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 31 Mar 2021 01:28:32 +0200 Subject: [PATCH] Further limit size of shaded "+" icon --- libs/widgets/ardour_icon.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/widgets/ardour_icon.cc b/libs/widgets/ardour_icon.cc index 83ba8ba3e5..577d442ca5 100644 --- a/libs/widgets/ardour_icon.cc +++ b/libs/widgets/ardour_icon.cc @@ -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;