6125: Person cursor under new FanChart views

svn: r20669
This commit is contained in:
Benny Malengier 2012-11-17 12:21:21 +00:00
parent 884d3d8eb2
commit 95e7a74f42

View File

@ -724,7 +724,7 @@ class FanChartBaseWidget(Gtk.DrawingArea):
radius = math.sqrt((curx - cx) ** 2 + (cury - cy) ** 2)
if radius < TRANSLATE_PX:
generation = -1
elif (self.angle[-2] and
elif (self.childring and self.angle[-2] and
radius < TRANSLATE_PX + CHILDRING_WIDTH):
generation = -2 # indication of one of the children
elif radius < self.CENTER: