[xiph-commits] r12063 - trunk/sushivision
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Wed Nov 8 04:29:07 PST 2006
Author: xiphmont
Date: 2006-11-08 04:29:06 -0800 (Wed, 08 Nov 2006)
New Revision: 12063
Modified:
trunk/sushivision/plot.c
Log:
Correct a rubberbanding expose bug at high zoom
Modified: trunk/sushivision/plot.c
===================================================================
--- trunk/sushivision/plot.c 2006-11-08 12:14:48 UTC (rev 12062)
+++ trunk/sushivision/plot.c 2006-11-08 12:29:06 UTC (rev 12063)
@@ -408,8 +408,8 @@
plot_expose_request_partial(p,
(int)(vals[0]),
(int)(vals[1]),
- (int)(vals[2]+2),
- (int)(vals[3]+2));
+ (int)(vals[2]+3), // account for floor/ceil *and* roundoff potential
+ (int)(vals[3]+3));
}
}
@@ -433,8 +433,8 @@
plot_expose_request_partial(p,
(int)(vals[0]),
(int)(vals[1]),
- (int)(vals[2]+2),
- (int)(vals[3]+2));
+ (int)(vals[2]+3), // account for floor/ceil *and* roundoff potential
+ (int)(vals[3]+3));
}
p->box_x2 = scalespace_value(&p->x,x);
More information about the commits
mailing list