diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-02 22:55:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-02 22:55:29 +0100 |
| commit | f9d707e3fa3927a555b7cfd99fa2b48d7cb3f45e (patch) | |
| tree | 9b7c05c4242204f29ae4725287988fbaf2a9d90d /src/wx/timeline_content_view.cc | |
| parent | 220518a7bf41bfd9e9da852b4d5ac1461fdd0e1a (diff) | |
Fix drawing.
Diffstat (limited to 'src/wx/timeline_content_view.cc')
| -rw-r--r-- | src/wx/timeline_content_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/timeline_content_view.cc b/src/wx/timeline_content_view.cc index eacfbfd4a..abb671b77 100644 --- a/src/wx/timeline_content_view.cc +++ b/src/wx/timeline_content_view.cc @@ -117,11 +117,11 @@ TimelineContentView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> /* Outline */ wxGraphicsPath path = gc->CreatePath (); - path.MoveToPoint (time_x (position) + 1, y_pos (_track.get()) + 4); + path.MoveToPoint (time_x (position) + 2, y_pos (_track.get()) + 4); path.AddLineToPoint (time_x (position + len) - 1, y_pos (_track.get()) + 4); path.AddLineToPoint (time_x (position + len) - 1, y_pos (_track.get() + 1) - 4); - path.AddLineToPoint (time_x (position) + 1, y_pos (_track.get() + 1) - 4); - path.AddLineToPoint (time_x (position) + 1, y_pos (_track.get()) + 4); + path.AddLineToPoint (time_x (position) + 2, y_pos (_track.get() + 1) - 4); + path.AddLineToPoint (time_x (position) + 2, y_pos (_track.get()) + 4); gc->StrokePath (path); gc->FillPath (path); |
