aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorin1tiate <32779090+in1tiate@users.noreply.github.com>2024-03-09 10:47:05 -0600
committerGitHub <noreply@github.com>2024-03-09 17:47:05 +0100
commit0142ed57c3dadd3f5b253685c5c70a7e4270308e (patch)
tree7b1554c5bda4817e00eda2011365671205001b73 /src/courtroom.cpp
parentb48ca2455a2c7674859b2d3d8be2896cdc0f3739 (diff)
Ignore pair offset when zooming (#940)
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index b80ec188..3056fd92 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3011,6 +3011,10 @@ void Courtroom::handle_ic_speaking()
filename = "prosecution_speedlines";
else
filename = "defense_speedlines";
+
+ // We're zooming, so hide the pair character and ignore pair offsets. This ain't about them.
+ ui_vp_sideplayer_char->hide();
+ ui_vp_player_char->move_and_center(0,0);
ui_vp_speedlines->load_image(filename, m_chatmessage[CHAR_NAME], ao_app->get_chat(m_chatmessage[CHAR_NAME]));
}