summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_region_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-16 21:12:06 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-16 21:12:06 +0000
commit27dd925f42911c527d8a4ffba3225dbac3c62bac (patch)
treeecaeb7bff46d52b64c40fc2c4113394ab8f2b15e /gtk2_ardour/audio_region_view.cc
parentda67628bcf19c47d6531e212e8a650d82b1abd4c (diff)
Don't tempt the user with visual cues that they can adjust fades when they can't (in MIDI internal edit mode)
git-svn-id: svn://localhost/ardour2/branches/3.0@7433 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_region_view.cc')
-rw-r--r--gtk2_ardour/audio_region_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc
index 06621a20e2..452c17aad3 100644
--- a/gtk2_ardour/audio_region_view.cc
+++ b/gtk2_ardour/audio_region_view.cc
@@ -1229,7 +1229,7 @@ AudioRegionView::add_ghost (TimeAxisView& tv)
}
void
-AudioRegionView::entered ()
+AudioRegionView::entered (bool internal_editing)
{
if (gain_line && _flags & EnvelopeVisible) {
gain_line->show_all_control_points ();
@@ -1239,7 +1239,7 @@ AudioRegionView::entered ()
UINT_TO_RGBA(fade_color,&r,&g,&b,&a);
a=255;
- if (fade_in_handle) {
+ if (fade_in_handle && !internal_editing) {
fade_in_handle->property_fill_color_rgba() = RGBA_TO_UINT(r,g,b,a);
fade_out_handle->property_fill_color_rgba() = RGBA_TO_UINT(r,g,b,a);
}
@@ -1484,4 +1484,4 @@ AudioRegionView::remove_transient(float pos)
break;
}
}
-} \ No newline at end of file
+}