projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ac475
)
Fix previous when content is not at time 0.
author
Carl Hetherington
<cth@carlh.net>
Tue, 16 Feb 2016 12:20:55 +0000
(12:20 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 16 Feb 2016 12:20:55 +0000
(12:20 +0000)
src/wx/timeline_content_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/timeline_content_view.cc
b/src/wx/timeline_content_view.cc
index 001b4077a54787b35f9eb6d2afbb56ce618480fe..989be3fad8d0d07da5570c1329a84db9684e7e6b 100644
(file)
--- 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);
}