diff options
author | Carl Hetherington <carl@carlh.net> | 2010-07-16 21:12:06 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-07-16 21:12:06 +0000 |
commit | 27dd925f42911c527d8a4ffba3225dbac3c62bac (patch) | |
tree | ecaeb7bff46d52b64c40fc2c4113394ab8f2b15e /gtk2_ardour/editor_mouse.cc | |
parent | da67628bcf19c47d6531e212e8a650d82b1abd4c (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/editor_mouse.cc')
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 378a8ecf32..1acfef6411 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -1612,7 +1612,7 @@ Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_ break; case FadeInHandleItem: - if (mouse_mode == MouseObject) { + if (mouse_mode == MouseObject && !internal_editing()) { ArdourCanvas::SimpleRect *rect = dynamic_cast<ArdourCanvas::SimpleRect *> (item); if (rect) { rect->property_fill_color_rgba() = 0; @@ -1623,7 +1623,7 @@ Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_ break; case FadeOutHandleItem: - if (mouse_mode == MouseObject) { + if (mouse_mode == MouseObject && !internal_editing()) { ArdourCanvas::SimpleRect *rect = dynamic_cast<ArdourCanvas::SimpleRect *> (item); if (rect) { rect->property_fill_color_rgba() = 0; |