diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-18 18:03:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-24 23:02:00 +0200 |
| commit | b11083f68b7971556e5003093b44c1835407b315 (patch) | |
| tree | b17ec406ff68690ed5bde835228b972f772b9f53 /src/lib/player.cc | |
| parent | 6675bba6ab7d5cee50fa4d8c892af69d054c6804 (diff) | |
Fix y offset direction of bitmap subs (#2807).
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index ea236db39..14cd95906 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -1250,7 +1250,7 @@ Player::bitmap_text_start (weak_ptr<Piece> weak_piece, weak_ptr<const TextConten { /* Apply content's subtitle offsets */ sub.rectangle.x += content->x_offset (); - sub.rectangle.y += content->y_offset (); + sub.rectangle.y -= content->y_offset (); /* Apply a corrective translation to keep the subtitle centred after the scale that is coming up */ sub.rectangle.x -= sub.rectangle.width * ((content->x_scale() - 1) / 2); |
