Prevent x movement of the end points of region gain

lines (should fix #4680).


git-svn-id: svn://localhost/ardour2/branches/3.0@12461 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-05-27 21:02:36 +00:00
parent f722858e43
commit 0b21004252

View File

@ -2818,6 +2818,10 @@ ControlPointDrag::start_grab (GdkEvent* event, Gdk::Cursor* /*cursor*/)
event->button.x + 10, event->button.y + 10);
_editor->verbose_cursor()->show ();
if (!_point->can_slide ()) {
_x_constrained = true;
}
}
void