diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-11 07:39:25 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-11 07:39:25 -0400 |
commit | 279aefc60e232475c771932744afc1304f0b92d5 (patch) | |
tree | 8f873ec7df1aee50cbdd839cebddf9ff2cb49cd5 /gtk2_ardour/audio_streamview.cc | |
parent | c10896e984c4e7532920815fbb20fc9c7467aea8 (diff) |
fix error in height computation of MIDI region views (FUDGE!) use Rectangle::set_outline_all() and avoid the removed integer version of ::set_outline_what()
Diffstat (limited to 'gtk2_ardour/audio_streamview.cc')
-rw-r--r-- | gtk2_ardour/audio_streamview.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_streamview.cc b/gtk2_ardour/audio_streamview.cc index 7b84219b75..6880c8be5b 100644 --- a/gtk2_ardour/audio_streamview.cc +++ b/gtk2_ardour/audio_streamview.cc @@ -289,7 +289,7 @@ AudioStreamView::setup_rec_box () rec_rect->set_y0 (1); rec_rect->set_x1 (xend); rec_rect->set_y1 (child_height ()); - rec_rect->set_outline_what (0); + rec_rect->set_outline_what (ArdourCanvas::Rectangle::What (0)); rec_rect->set_outline_color (ARDOUR_UI::config()->get_canvasvar_TimeAxisFrame()); rec_rect->set_fill_color (fill_color); rec_rect->lower_to_bottom(); |