diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-21 00:24:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-21 00:24:41 +0100 |
| commit | 28c36cd838edf5ae81d2f340c157576aa2b57e42 (patch) | |
| tree | b69d73e6165bb746b00367f19666912964227895 /src | |
| parent | 4d8f96e15edb4807cc9773cc7f9eb6aa56ac2dc8 (diff) | |
Fix TimelineTimeAxisView::bbox() to be correct.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/timeline_time_axis_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timeline_time_axis_view.cc b/src/wx/timeline_time_axis_view.cc index 3b1b3cd99..d055bda7d 100644 --- a/src/wx/timeline_time_axis_view.cc +++ b/src/wx/timeline_time_axis_view.cc @@ -45,7 +45,7 @@ TimelineTimeAxisView::TimelineTimeAxisView (Timeline& tl, int y) dcpomatic::Rect<int> TimelineTimeAxisView::bbox () const { - return dcpomatic::Rect<int> (0, _y - 4, _timeline.width(), 24); + return dcpomatic::Rect<int>(0, y_pos(_y), _timeline.width(), 48); } |
