diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-03 23:31:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-03 23:31:11 +0100 |
| commit | 5a9373e48aa575c70bd32b4b48eb6b9b8634a4fc (patch) | |
| tree | 9f82092695f26b5d823ff1103e3f62bdc73dea91 /src/wx/timeline_content_view.cc | |
| parent | c9152723208a20542b147e8a879117d6a5a76a45 (diff) | |
Fix hidden reels view and time axis not moving under zoom.
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 abb671b77..1d0c1668f 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 t * _timeline.track_height(); + return t * _timeline.track_height() + _timeline.tracks_y_offset(); } void |
