summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-10 23:35:42 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-10 23:35:42 +0100
commit73c6361dd19274a1ae982a2b448979f32caebcc3 (patch)
treed83d9f2c4330b25f166024041aecfc0358dcc345
parent1da7fd2fabe36c103da7e69ef0cb68959c364bef (diff)
Fix subtitle area rectangle with offset (#3138).
-rw-r--r--src/wx/text_panel.cc2
1 files changed, 1 insertions, 1 deletions
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 {