Fix offset of imports.
This commit is contained in:
parent
65606b5fb3
commit
e70ff0b101
|
@ -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…
Reference in New Issue