X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_panel.cc;fp=src%2Fwx%2Ftext_panel.cc;h=a9a3f142dd60ce3773f5f2d0f8acb7965052f415;hb=6c18c9a37f3a1c8ea1d3ca7791a0f1380b23f5d1;hp=42dace9ba81e817847ad159a8515507ab425a3a4;hpb=182b9d2e2feb6545592868606aaf0f0146095481;p=dcpomatic.git diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index 42dace9ba..a9a3f142d 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -873,8 +873,8 @@ TextPanel::update_outline_subtitles_in_viewer () if (rect) { auto content = _analysis_content.lock (); DCPOMATIC_ASSERT (content); - rect->x += content->text.front()->x_offset(); - rect->y += content->text.front()->y_offset(); + rect->x += content->text.front()->x_offset() - _analysis->analysis_x_offset(); + rect->y += content->text.front()->y_offset() - _analysis->analysis_y_offset(); } fv->set_outline_subtitles (rect); } else {