6125: Person cursor under new FanChart views
svn: r20669
This commit is contained in:
parent
884d3d8eb2
commit
95e7a74f42
@ -724,7 +724,7 @@ class FanChartBaseWidget(Gtk.DrawingArea):
|
|||||||
radius = math.sqrt((curx - cx) ** 2 + (cury - cy) ** 2)
|
radius = math.sqrt((curx - cx) ** 2 + (cury - cy) ** 2)
|
||||||
if radius < TRANSLATE_PX:
|
if radius < TRANSLATE_PX:
|
||||||
generation = -1
|
generation = -1
|
||||||
elif (self.angle[-2] and
|
elif (self.childring and self.angle[-2] and
|
||||||
radius < TRANSLATE_PX + CHILDRING_WIDTH):
|
radius < TRANSLATE_PX + CHILDRING_WIDTH):
|
||||||
generation = -2 # indication of one of the children
|
generation = -2 # indication of one of the children
|
||||||
elif radius < self.CENTER:
|
elif radius < self.CENTER:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user