summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-20 22:43:10 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-20 22:43:10 +0000
commit822ee79d840f20036b5729277f90e641cb0bb06f (patch)
tree404c5ce1e05c0b3fdca2473910974de5ddf9aed7 /gtk2_ardour/editor_drag.h
parentb2bf4eee3d9ca63a34415c75e877b8c97d6b5f13 (diff)
Limit region-based automation to the edges of regions. Fixes #3201.
git-svn-id: svn://localhost/ardour2/branches/3.0@7662 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index d710e3a639..9e503201b8 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -596,8 +596,8 @@ public:
private:
ControlPoint* _point;
- double _time_axis_view_grab_x;
- double _time_axis_view_grab_y;
+ double _fixed_grab_x;
+ double _fixed_grab_y;
double _cumulative_x_drag;
double _cumulative_y_drag;
static double const _zero_gain_fraction;
@@ -621,8 +621,8 @@ public:
private:
AutomationLine* _line;
- double _time_axis_view_grab_x;
- double _time_axis_view_grab_y;
+ double _fixed_grab_x;
+ double _fixed_grab_y;
uint32_t _before;
uint32_t _after;
double _cumulative_y_drag;