[xiph-commits] r12619 - trunk/sushivision

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Sat Mar 3 11:53:19 PST 2007


Author: xiphmont
Date: 2007-03-03 11:53:17 -0800 (Sat, 03 Mar 2007)
New Revision: 12619

Modified:
   trunk/sushivision/panel-2d.c
Log:
Minor correction; for very tall graphs, limit scale legend width to plot width.



Modified: trunk/sushivision/panel-2d.c
===================================================================
--- trunk/sushivision/panel-2d.c	2007-03-03 19:50:44 UTC (rev 12618)
+++ trunk/sushivision/panel-2d.c	2007-03-03 19:53:17 UTC (rev 12619)
@@ -797,7 +797,7 @@
     // set translation
     cairo_save(c);
     cairo_translate (c, maxlabelw + 10, y);
-    slider_print(s, c, w - maxlabelw - 10, labelh);
+    slider_print(s, c, pw*scale - maxlabelw - 10, labelh);
     cairo_restore(c);
 
     y += labelh;



More information about the commits mailing list