projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4addaa
)
Reduce girth of "plus" icon
author
Robin Gareus
<robin@gareus.org>
Mon, 26 Aug 2019 22:00:29 +0000
(
00:00
+0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 26 Aug 2019 22:00:29 +0000
(
00:00
+0200)
libs/widgets/ardour_icon.cc
patch
|
blob
|
history
diff --git
a/libs/widgets/ardour_icon.cc
b/libs/widgets/ardour_icon.cc
index 32ad1d1b8d243884c4ff5cac3798e3d83c8c7658..d410b3701054433ecc6e16868585df96eefa536e 100644
(file)
--- a/
libs/widgets/ardour_icon.cc
+++ b/
libs/widgets/ardour_icon.cc
@@
-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,