From 73c6361dd19274a1ae982a2b448979f32caebcc3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 10 Feb 2026 23:35:42 +0100 Subject: Fix subtitle area rectangle with offset (#3138). --- src/wx/text_panel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index b7ae439d1..c49844f73 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -830,7 +830,7 @@ TextPanel::update_outline_subtitles_in_viewer () auto content = _analysis_content.lock (); DCPOMATIC_ASSERT (content); rect->x += content->text.front()->x_offset() - _analysis->analysis_x_offset(); - rect->y += content->text.front()->y_offset() - _analysis->analysis_y_offset(); + rect->y += _analysis->analysis_y_offset() - content->text.front()->y_offset(); } fv.set_outline_subtitles(rect); } else { -- cgit v1.2.3