diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-21 00:24:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-21 00:24:31 +0100 |
| commit | 4d8f96e15edb4807cc9773cc7f9eb6aa56ac2dc8 (patch) | |
| tree | 7b534e00479877732601b6e7543b70a651557f55 /src/wx/timeline_content_view.cc | |
| parent | ef25237193100de106eccdb8f40524fa670bda76 (diff) | |
Move y_pos to TimelineView.
Diffstat (limited to 'src/wx/timeline_content_view.cc')
| -rw-r--r-- | src/wx/timeline_content_view.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/wx/timeline_content_view.cc b/src/wx/timeline_content_view.cc index 633110c18..5d039d0d3 100644 --- a/src/wx/timeline_content_view.cc +++ b/src/wx/timeline_content_view.cc @@ -171,13 +171,6 @@ TimelineContentView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int>> } -int -TimelineContentView::y_pos (int t) const -{ - return t * _timeline.pixels_per_track() + _timeline.tracks_y_offset(); -} - - void TimelineContentView::content_change (ChangeType type, int p) { |
