diff --git a/CHANGELOG.md b/CHANGELOG.md index 68af4f07..7aa792fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ 21.08+ (???) ------------------------------------------------------------------------ - Fix: [#1108] Road selection not being remembered. +- Fix: [#1124] Confirmation prompt captions are not rendered correctly. - Change: [#1104] Exceptions now trigger a message box popup, instead of only being written to the console. 21.08 (2021-08-12) diff --git a/src/OpenLoco/Widget.cpp b/src/OpenLoco/Widget.cpp index 327b2ffe..2ba11da7 100644 --- a/src/OpenLoco/Widget.cpp +++ b/src/OpenLoco/Widget.cpp @@ -593,8 +593,8 @@ namespace OpenLoco::Ui Gfx::fillRect(*context, l + 1, t + 1, r - 1, b - 1, 0x2000000 | 46); int16_t width = r - l - 4 - 10; - int16_t y = t + window->y + 1; - int16_t x = l + window->x + 2 + (width / 2); + int16_t y = t + 1; + int16_t x = l + 2 + (width / 2); Gfx::drawStringCentredClipped(*context, x, y, width, Colour::white | FormatFlags::textflag_5, text, _commonFormatArgs); }