diff options
author | Carl Hetherington <carl@carlh.net> | 2009-10-28 22:00:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-10-28 22:00:45 +0000 |
commit | dc95a690e0dea3decf88a44805b8f8be5a70f500 (patch) | |
tree | a70549fe68e1e26539b8c7be4c3110ae3d578097 /gtk2_ardour | |
parent | 42694c61575b2049516b2b311478a9aa575b4a73 (diff) |
Patch from oofus to fix mantis 1867.
git-svn-id: svn://localhost/ardour2/branches/3.0@5964 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 1c5d98f1b2..ca50b9111e 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -1947,6 +1947,7 @@ FadeInDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor) boost::shared_ptr<AudioRegion> const r = a->audio_region (); _pointer_frame_offset = _grab_frame - ((nframes64_t) r->fade_in()->back()->when + r->position()); + _editor->show_verbose_duration_cursor (r->position(), r->position() + r->fade_in()->back()->when, 10); } void @@ -2039,6 +2040,7 @@ FadeOutDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor) boost::shared_ptr<AudioRegion> r = a->audio_region (); _pointer_frame_offset = _grab_frame - (r->length() - (nframes64_t) r->fade_out()->back()->when + r->position()); + _editor->show_verbose_duration_cursor (r->last_frame() - r->fade_out()->back()->when, r->last_frame(), 10); } void |