Reduce girth of "plus" icon
authorRobin Gareus <robin@gareus.org>
Mon, 26 Aug 2019 22:00:29 +0000 (00:00 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 26 Aug 2019 22:00:29 +0000 (00:00 +0200)
libs/widgets/ardour_icon.cc

index 32ad1d1b8d243884c4ff5cac3798e3d83c8c7658..d410b3701054433ecc6e16868585df96eefa536e 100644 (file)
@@ -1010,7 +1010,7 @@ static void icon_plus_sign (cairo_t *cr, const int width, const int height, cons
 {
        const double xc = rint (width * .5);
        const double yc = rint (height * .5);
-       const int wh = std::min (width, height) * .1;
+       const double wh = ceil (std::min (width, height) * .077) / 2.0;
        const int ln = std::min (width, height) * .33;
 
        cairo_rectangle (cr,