From aa2250740f2faf6383658c37743a52b4984dd9fd Mon Sep 17 00:00:00 2001 From: FruitieX Date: Thu, 17 Jun 2010 00:29:45 +0300 Subject: [PATCH] fix notify size limits hopefully --- qcsrc/client/hud.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 487b82148..0e3365c51 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -656,8 +656,8 @@ vector HUD_Panel_GetMinSize(float id) } break; case 4: - mySize_x = 1.2; // 12/10 * height, as panel cant support more than 10 entries... - mySize_y = 1/12; // 1/12 * width + mySize_x = 4/5; // 4/5 * height, trial and error... + mySize_y = 1/3; // 1/3 * width, trial and error... break; case 5: mySize_y = 1/4.1; // 1/4.1 * width, trial and error... @@ -2678,7 +2678,7 @@ void HUD_Notify (void) } float entries, height; - entries = bound(1, floor(12 * mySize_y/mySize_x), 10); + entries = bound(1, floor(14 * mySize_y/mySize_x), 12); height = mySize_y/entries; entries -= 2; // top/bottom two lines reserved for info messaged, such as spec instructions -- 2.39.2