[xiph-commits] r12559 - trunk/sushivision

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Sun Feb 25 01:31:36 PST 2007


Author: xiphmont
Date: 2007-02-25 01:31:35 -0800 (Sun, 25 Feb 2007)
New Revision: 12559

Modified:
   trunk/sushivision/slider.c
Log:
Correct vertical slider bug; slice expose offsets were not being
computed properly.



Modified: trunk/sushivision/slider.c
===================================================================
--- trunk/sushivision/slider.c	2007-02-25 04:04:45 UTC (rev 12558)
+++ trunk/sushivision/slider.c	2007-02-25 09:31:35 UTC (rev 12559)
@@ -490,7 +490,7 @@
 
     slider_realize(s);
     if(s->flip){
-      cairo_set_source_surface(c,s->foreground,0,slice_width(s,slicenum)-w->allocation.height);
+      cairo_set_source_surface(c,s->foreground,0, slice_width(s,slicenum+1)-total_slice_width(s));
     }else{
       cairo_set_source_surface(c,s->foreground,-slice_width(s,slicenum),0);
     }



More information about the commits mailing list