Timeline: Fix offset of drag and drop file imports.

This commit is contained in:
Jonathan Moore Liles 2013-04-21 22:59:34 -07:00
parent dcec3282a9
commit 52f016abed
1 changed files with 1 additions and 1 deletions

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();