Timeline: Fix offset of drag and drop file imports.
This commit is contained in:
parent
dcec3282a9
commit
52f016abed
|
@ -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…
Reference in New Issue