From 28c36cd838edf5ae81d2f340c157576aa2b57e42 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 21 Nov 2022 00:24:41 +0100 Subject: [PATCH] Fix TimelineTimeAxisView::bbox() to be correct. --- src/wx/timeline_time_axis_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 TimelineTimeAxisView::bbox () const { - return dcpomatic::Rect (0, _y - 4, _timeline.width(), 24); + return dcpomatic::Rect(0, y_pos(_y), _timeline.width(), 48); } -- 2.30.2