(svn r27863) [1.7] -Backport from trunk:
- Fix: Black remap did nothing in 8bpp-simple blitter (r27837) - Fix: Misaligned resize icon due to widget bounds being inclusive (r27831) - Fix: Update viewport sign dimensions when changing GUI zoom level (r27827, r27819) - Fix: Vehicle viewport is not user scrollable so flag window as such (r27823) - Fix: Allow dropdown to be drawn above origin widget even with scrollbar (r27820) - Fix: 32bpp-anim blitters assumed that pitch and width of the screen were equal [FS#6545] (r27796) - Fix: Chat text background overflowed due to missing padding [FS#6526] (r27794)
This commit is contained in:
@@ -110,7 +110,7 @@ void CDECL NetworkAddChatMessage(TextColour colour, uint duration, const char *m
|
||||
void NetworkReInitChatBoxSize()
|
||||
{
|
||||
_chatmsg_box.y = GetMinSizing(NWST_STEP, 10) + 5;
|
||||
_chatmsg_box.height = MAX_CHAT_MESSAGES * (FONT_HEIGHT_NORMAL + NETWORK_CHAT_LINE_SPACING) + 2;
|
||||
_chatmsg_box.height = MAX_CHAT_MESSAGES * (FONT_HEIGHT_NORMAL + NETWORK_CHAT_LINE_SPACING) + 4;
|
||||
_chatmessage_backup = ReallocT(_chatmessage_backup, _chatmsg_box.width * _chatmsg_box.height * BlitterFactory::GetCurrentBlitter()->GetBytesPerPixel());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user