Fix tapering issue for fully filled graph
This commit is contained in:
parent
0273c0c501
commit
3f3ff6558a
|
@ -384,6 +384,10 @@ class Sparkline(gtk.DrawingArea):
|
|||
|
||||
draw_line(cairo_ct, cell_area, points)
|
||||
if self.filled:
|
||||
# XXX: Fixes a fully filled graph from having an oddly
|
||||
# tapered in end (bug 560913). Need to figure out
|
||||
# what's really going on.
|
||||
points = [(0, cell_area.height)] + points
|
||||
draw_fill(cairo_ct, cell_area, points, taper=True)
|
||||
|
||||
# Stop clipping
|
||||
|
|
Loading…
Reference in New Issue