Browse Source

Timeline: Fix offset of drag and drop file imports.

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
52f016abed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      timeline/src/Audio_Sequence.C

+ 1
- 1
timeline/src/Audio_Sequence.C View File

@@ -329,7 +329,7 @@ Audio_Sequence::handle ( int m )
free( file );

Audio_Region *r =
new Audio_Region( c, this, timeline->xoffset + timeline->x_to_ts( Fl::event_x() - x() ) );
new Audio_Region( c, this, timeline->xoffset + timeline->x_to_ts( Fl::event_x() - drawable_x() ) );
r->log_create();



Loading…
Cancel
Save