Fix region dragging.
git-svn-id: svn://localhost/ardour2/branches/3.0@3770 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b87ca000f8
commit
68216b315e
@ -1181,15 +1181,9 @@ TimeAxisView::color_handler ()
|
||||
TimeAxisView*
|
||||
TimeAxisView::covers_y_position (double y)
|
||||
{
|
||||
if (y_position < 0) {
|
||||
abort ();
|
||||
}
|
||||
|
||||
if (hidden()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
cerr << name() << " check for " << y << " within " << y_position << " and + " << height << endl;
|
||||
|
||||
if (y_position <= y && y < (y_position + height)) {
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user