summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-13 08:17:46 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-13 08:17:46 -0600
commit6cca669c9adc4dbf89df3e003c43f7ae992af135 (patch)
tree0430405e694e697a8f19589e09cb53f048850e29 /gtk2_ardour/editor.cc
parent181b5e40d189e7c55e682473970e93398064a9d5 (diff)
COMBO_TRIANGLE_WIDTH should be an odd value.
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 748eb6d23b..69dfaab0f8 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -223,7 +223,8 @@ static const gchar *_rb_opt_strings[] = {
};
#endif
-#define COMBO_TRIANGLE_WIDTH 10 // as-measured. was 25: ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5)
+//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)
Editor::Editor ()
: PublicEditor (global_hpacker)