commit f503db1fb5085c8ddbca289f4b28190fff2f466e
parent c8f1a1229372f987d9ac0e38b91ebf525a426d46
Author: hackrid <hack.rid@gmail.com>
Date: Tue, 12 Apr 2016 10:18:50 +0200
preserve the stats readable
prevent the graph from growing too much into the stats display.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cnping.c b/cnping.c
@@ -159,7 +159,7 @@ void DrawFrame( void )
if (!GuiYscaleFactorIsConstant)
{
- GuiYScaleFactor = screeny / globmaxtime;
+ GuiYScaleFactor = (screeny - 50) / globmaxtime;
}
if( last < 0 && rt > st )