summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {