From 3b6de563084371f021c1ed5b4c01ba6ba43262dd Mon Sep 17 00:00:00 2001 From: FruitieX Date: Sun, 13 Jun 2010 13:55:08 +0300 Subject: [PATCH] update minimum size on the chat panel so the simulated text never overlaps the panel boundaries - there's no wrapping around for drawcolorcodedstring --- qcsrc/client/hud.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 27f802b35..3cfa91204 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -1124,7 +1124,7 @@ void HUD_Panel_SetPosSize(float id, vector resizeorigin) if(id == 12) // some panels have their own restrictions, like the chat panel (which actually only moves the engine chat print around). Looks bad if it's too small. { - mySize_x = max(15 * cvar("con_chatsize"), mySize_x); + mySize_x = max(17 * cvar("con_chatsize"), mySize_x); mySize_y = max(2 * cvar("con_chatsize") + 2 * HUD_Panel_GetPadding(id), mySize_y); } -- 2.39.2