13
0
This commit is contained in:
Paul Davis 2013-04-16 21:39:24 -04:00
parent 3beadec936
commit c6d5b2ce6d

View File

@ -74,7 +74,7 @@ VideoImageFrame::~VideoImageFrame ()
void
VideoImageFrame::set_position (framepos_t sample)
{
double new_unit_position = editor.sample_to_pixel (frame);
double new_unit_position = editor.sample_to_pixel (sample);
image->move (ArdourCanvas::Duple (new_unit_position - unit_position, 0.0));
sample_position = sample;
unit_position = new_unit_position;