summaryrefslogtreecommitdiff
path: root/gtk2_ardour/patch_change.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-14 00:21:29 -0400
committerDavid Robillard <d@drobilla.net>2015-03-14 00:21:29 -0400
commit86c654132358b22f62a0672b11f436eb9123367e (patch)
tree6a16a25cd3880ece2ad568adb55084233abae95b /gtk2_ardour/patch_change.cc
parent700cb13b36699674741f2781eae73adb44dc0932 (diff)
Move PC flags to avoid obscuring region name.
Fixes bug #6179. Top vs. bottom seems pretty arbitrary to me, and this solves the obscuring issue (which is quite common since there are often PC events at the start of MIDI files), so bottom it is.
Diffstat (limited to 'gtk2_ardour/patch_change.cc')
-rw-r--r--gtk2_ardour/patch_change.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/patch_change.cc b/gtk2_ardour/patch_change.cc
index bde5b4bf25..601011d017 100644
--- a/gtk2_ardour/patch_change.cc
+++ b/gtk2_ardour/patch_change.cc
@@ -60,7 +60,8 @@ PatchChange::PatchChange(MidiRegionView& region,
height,
ARDOUR_UI::config()->color ("midi patch change outline"),
ARDOUR_UI::config()->color_mod ("midi patch change fill", "midi patch change fill"),
- ArdourCanvas::Duple (x, y));
+ ArdourCanvas::Duple (x, y),
+ true);
CANVAS_DEBUG_NAME (_flag, text);