You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
Fix: Input text floating outside chat window
This commit is contained in:
@@ -303,5 +303,5 @@ int32_t ChatStringWrappedGetHeight(u8string_view args, int32_t width)
|
||||
int32_t numLines;
|
||||
GfxWrapString(FormatStringID(STR_STRING, args), width, FontStyle::Medium, nullptr, &numLines);
|
||||
const int32_t lineHeight = FontGetLineHeight(FontStyle::Medium);
|
||||
return lineHeight * numLines;
|
||||
return lineHeight * (numLines + 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user