summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-14 08:15:45 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-14 08:15:45 -0600
commitdf9bb501556516ef35f5ec73a9f1df2568381c65 (patch)
tree84757db4e671c1714d8ce10b0522c86d370a6802 /gtk2_ardour
parentd27509c76d5d165cb8d6d7cb0ad57ae4eaae0f60 (diff)
Revert TRIANGLE_WIDTH for mac. Must be a pango/cairo issue on mac.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 69dfaab0f8..f5404f45e9 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -224,7 +224,11 @@ static const gchar *_rb_opt_strings[] = {
#endif
//Robin says: this should be odd to accomodate cairo drawing offset ( width/2 rounds up to pixel boundary )
-#define COMBO_TRIANGLE_WIDTH 11 // as-measured. was 25: ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5)
+#ifdef GTKOSX
+#define COMBO_TRIANGLE_WIDTH 25 // ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5)
+#else
+#define COMBO_TRIANGLE_WIDTH 11 // as-measured for win/linux.
+#endif
Editor::Editor ()
: PublicEditor (global_hpacker)