Browse Source

Improve selection movement for control points.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
458bb7cc05
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      Timeline/Control_Point.H

+ 6
- 1
Timeline/Control_Point.H View File

@@ -128,6 +128,11 @@ public:
break;
case FL_DRAG:
{
track()->sort();

if ( selected() )
break;

int Y = Fl::event_y() - parent()->y();

if ( Y >= 0 && Y < parent()->h() )
@@ -135,7 +140,7 @@ public:
_y = (float)Y / parent()->h();
redraw();
}
track()->sort();
break;
}
}


Loading…
Cancel
Save