summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-12-10 15:56:47 +0100
committerRobin Gareus <robin@gareus.org>2016-12-10 15:56:47 +0100
commit1468e270defc24de767e86118d0210480fad27b9 (patch)
treeaab9c2e6f0511069553fc3ee2036d7d5d200c0ac /libs/gtkmm2ext
parentcc6f8cf321ca9511a96d3d637aec02c2ee01abfc (diff)
Tweak transport icons
Diffstat (limited to 'libs/gtkmm2ext')
-rw-r--r--libs/gtkmm2ext/ardour_icon.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/gtkmm2ext/ardour_icon.cc b/libs/gtkmm2ext/ardour_icon.cc
index 6a7cabe829..5e89e3bd6f 100644
--- a/libs/gtkmm2ext/ardour_icon.cc
+++ b/libs/gtkmm2ext/ardour_icon.cc
@@ -640,8 +640,8 @@ static void icon_transport_play (cairo_t *cr, const int width, const int height)
/** Midi Panic "!" */
static void icon_transport_panic (cairo_t *cr, const int width, const int height)
{
- const int wh = std::min (width, height) * .1;
- const double xc = width * .5;
+ const int wh = ceil (std::min (width, height) * .1) - .5;
+ const double xc = rint (width * .5);
const double yh = height;
cairo_rectangle (cr,
xc - wh, yh *.19,
@@ -730,8 +730,8 @@ static void icon_transport_metronom (cairo_t *cr, const int width, const int hei
{
const double x = width * .5;
const double y = height * .5;
- const double wh = std::min (x, y);
- const double h = wh * .85;
+ const double wh = .95 * std::min (x, y);
+ const double h = wh * .80;
const double w = wh * .55;
const double lw = w * .34;