projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16db8b5
)
Fix erroneous placement of new MIDI automation points in
author
Carl Hetherington
<carl@carlh.net>
Wed, 13 Jul 2011 12:09:25 +0000
(12:09 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Wed, 13 Jul 2011 12:09:25 +0000
(12:09 +0000)
regions with non-zero start (#4176).
git-svn-id: svn://localhost/ardour2/branches/3.0@9859
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/automation_region_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/automation_region_view.cc
b/gtk2_ardour/automation_region_view.cc
index 3662307c61eaa3aebd5ebd501e92fc7cab31e026..f3a8e6d8ac477627262e147d051d818dd55f967e 100644
(file)
--- a/
gtk2_ardour/automation_region_view.cc
+++ b/
gtk2_ardour/automation_region_view.cc
@@
-119,7
+119,7
@@
AutomationRegionView::canvas_event (GdkEvent* ev)
y = max (y, 0.0);
y = min (y, _height - NAME_HIGHLIGHT_SIZE);
- add_automation_event (ev, trackview.editor().pixel_to_frame (x) - _region->position(), y);
+ add_automation_event (ev, trackview.editor().pixel_to_frame (x) - _region->position()
+ _region->start()
, y);
}
return false;