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_labels_view.cc | |
| parent | f07a469603298049d12e1af9deda4ad830362e58 (diff) | |
Hacks to stop scrolling track names.
Diffstat (limited to 'src/wx/timeline_labels_view.cc')
| -rw-r--r-- | src/wx/timeline_labels_view.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/timeline_labels_view.cc b/src/wx/timeline_labels_view.cc index ee1b19489..3fe315aaf 100644 --- a/src/wx/timeline_labels_view.cc +++ b/src/wx/timeline_labels_view.cc @@ -66,23 +66,23 @@ TimelineLabelsView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> > int fy = 0; int ty = _threed ? 2 * h : h; - gc->DrawText (_("Video"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8); + gc->DrawText (_("Video"), 0, (ty + fy) / 2 - 8); fy = ty; if (_subtitle_tracks) { ty = fy + _subtitle_tracks * h; - gc->DrawText (_("Subtitles"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8); + gc->DrawText (_("Subtitles"), 0, (ty + fy) / 2 - 8); fy = ty; } if (_atmos) { ty = fy + h; - gc->DrawText (_("Atmos"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8); + gc->DrawText (_("Atmos"), 0, (ty + fy) / 2 - 8); fy = ty; } ty = _timeline.tracks() * h; - gc->DrawText (_("Audio"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8); + gc->DrawText (_("Audio"), 0, (ty + fy) / 2 - 8); } void |
