diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-02 16:39:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-02 16:39:06 +0100 |
| commit | 220518a7bf41bfd9e9da852b4d5ac1461fdd0e1a (patch) | |
| tree | c91fe6a4ee59e14052be26e742a23669e384e23d /src/wx/timeline_content_view.cc | |
| parent | f07a469603298049d12e1af9deda4ad830362e58 (diff) | |
Hacks to stop scrolling track names.
Diffstat (limited to 'src/wx/timeline_content_view.cc')
| -rw-r--r-- | src/wx/timeline_content_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timeline_content_view.cc b/src/wx/timeline_content_view.cc index 5877aacbd..eacfbfd4a 100644 --- a/src/wx/timeline_content_view.cc +++ b/src/wx/timeline_content_view.cc @@ -156,7 +156,7 @@ TimelineContentView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> int TimelineContentView::y_pos (int t) const { - return _timeline.tracks_position().y + t * _timeline.track_height(); + return t * _timeline.track_height(); } void |
