Browse Source

Fix offset of imports.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
e70ff0b101
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      Audio_Track.C

+ 1
- 2
Audio_Track.C View File

@@ -87,8 +87,7 @@ Audio_Track::handle ( int m )
return 0;
}

// FIXME: account for width of track header.
Region *r = new Region( c, this, timeline->xoffset + timeline->x_to_ts( Fl::event_x() ) );
Region *r = new Region( c, this, timeline->xoffset + timeline->x_to_ts( Fl::event_x() - x() ) );

redraw();
return 1;


Loading…
Cancel
Save