Fix minor ugliness due to precision loss.
Change an integer division into a floating one, now the rendered text looks better. svn: r22553
This commit is contained in:
parent
1dc1f6c0c2
commit
d03fc19188
@ -701,8 +701,8 @@ class FanChartBaseWidget(Gtk.DrawingArea):
|
||||
|
||||
x0, y0, w, h = rect[0], rect[1], rect[2]-rect[0], rect[3]-rect[1]
|
||||
|
||||
radiusin = radius - h/2
|
||||
radiusout = radius + h/2
|
||||
radiusin = radius - h/2.0
|
||||
radiusout = radius + h/2.0
|
||||
drho = h
|
||||
dphi = (stop_rad - start_rad)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user