diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-03 18:32:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-03 18:32:06 +0000 |
commit | 477fca0de02853b32ba5f0b43119d636e77f7a46 (patch) | |
tree | 4f40bbc3cd20db5668efe5311b665140e398b25b /gtk2_ardour/time_axis_view_item.cc | |
parent | 80c46cc451fed4b50bd1e974b4586fcea99c1ab5 (diff) |
deframe audio regions as well as MIDI when entering internal edit mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9057 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index 43634f43f5..aa9fc24b23 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -746,6 +746,16 @@ TimeAxisViewItem::set_frame_color() } frame->property_fill_color_rgba() = f; + + if (!_recregion) { + f = ARDOUR_UI::config()->canvasvar_TimeAxisFrame.get(); + + if (!rect_visible) { + f = UINT_RGBA_CHANGE_A (f, 64); + } + + frame->property_outline_color_rgba() = f; + } } /** |