Skip to content

Commit

Permalink
Fix ufopaedia scrolling on multi-line article titles
Browse files Browse the repository at this point in the history
  • Loading branch information
SupSuper committed Dec 29, 2023
1 parent 309eb8a commit f2e509c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ufopaedia/ArticleStateTextImage.cpp
Expand Up @@ -56,7 +56,7 @@ namespace OpenXcom

int text_height = _txtTitle->getTextHeight();

_txtInfo = new Text(defs->text_width, 162, 5, 23 + text_height);
_txtInfo = new Text(defs->text_width, 176 - text_height, 5, 23 + text_height);
add(_txtInfo);

_txtInfo->setColor(Palette::blockOffset(15)-1);
Expand Down

0 comments on commit f2e509c

Please sign in to comment.