projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add self-removing Sends (remove on disconnect)
[ardour.git]
/
gtk2_ardour
/
automation_time_axis.cc
diff --git
a/gtk2_ardour/automation_time_axis.cc
b/gtk2_ardour/automation_time_axis.cc
index 1ff3024ac6164881f85bf84bb36fd03181c0616e..cb2a3b44ea85b374a609ecce1aeaaa17ed4ba816 100644
(file)
--- a/
gtk2_ardour/automation_time_axis.cc
+++ b/
gtk2_ardour/automation_time_axis.cc
@@
-628,11
+628,11
@@
AutomationTimeAxisView::add_automation_event (GdkEvent* event, framepos_t when,
double x = 0;
- _
canvas_display->
canvas_to_item (x, y);
+ _
line->grab_item().
canvas_to_item (x, y);
/* compute vertical fractional position */
- y = 1.0 - (y /
height
);
+ y = 1.0 - (y /
_line->height()
);
/* map using line */