diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-16 12:20:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-16 12:20:55 +0000 |
| commit | 008096491dfda7682a8d60105195202d365957c6 (patch) | |
| tree | 71bf4250383dcf6688cc42fe435548b64444968d /src | |
| parent | 25ac475e4654e386b03ec35c994aba6bb1d739ef (diff) | |
Fix previous when content is not at time 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/timeline_content_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |
