From 008096491dfda7682a8d60105195202d365957c6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Feb 2016 12:20:55 +0000 Subject: Fix previous when content is not at time 0. --- src/wx/timeline_content_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/wx/timeline_content_view.cc b/src/wx/timeline_content_view.cc index 001b4077a..989be3fad 100644 --- a/src/wx/timeline_content_view.cc +++ b/src/wx/timeline_content_view.cc @@ -127,8 +127,8 @@ TimelineContentView::do_paint (wxGraphicsContext* gc) gc->SetPen (*wxThePenList->FindOrCreatePen (foreground_colour(), 1, wxPENSTYLE_DOT)); BOOST_FOREACH (DCPTime i, cont->reel_split_points ()) { path = gc->CreatePath (); - path.MoveToPoint (time_x (i - position), y_pos (_track.get()) + 4); - path.AddLineToPoint (time_x (i - position), y_pos (_track.get() + 1) - 4); + path.MoveToPoint (time_x (i), y_pos (_track.get()) + 4); + path.AddLineToPoint (time_x (i), y_pos (_track.get() + 1) - 4); gc->StrokePath (path); } -- cgit v1.2.3