diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/timeline_content_view.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wx/timeline_content_view.cc b/src/wx/timeline_content_view.cc index 98ef0abb4..13575b280 100644 --- a/src/wx/timeline_content_view.cc +++ b/src/wx/timeline_content_view.cc @@ -113,11 +113,11 @@ TimelineContentView::do_paint (wxGraphicsContext* gc) } wxGraphicsPath path = gc->CreatePath (); - path.MoveToPoint (time_x (position), y_pos (_track.get()) + 4); - path.AddLineToPoint (time_x (position + len), y_pos (_track.get()) + 4); - path.AddLineToPoint (time_x (position + len), y_pos (_track.get() + 1) - 4); - path.AddLineToPoint (time_x (position), y_pos (_track.get() + 1) - 4); - path.AddLineToPoint (time_x (position), y_pos (_track.get()) + 4); + path.MoveToPoint (time_x (position) + 1, 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); gc->StrokePath (path); gc->FillPath (path); |
