changeset 1382:480b6f9324a7

RT-22954: PieChart with rollover has picking issues
author jgiles
date Fri, 29 Jun 2012 09:43:08 +1200
parents d17e7e409769
children a81a3544722e
files javafx-ui-charts/src/javafx/scene/chart/PieChart.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-charts/src/javafx/scene/chart/PieChart.java	Fri Jun 29 09:40:52 2012 +1200
+++ b/javafx-ui-charts/src/javafx/scene/chart/PieChart.java	Fri Jun 29 09:43:08 2012 +1200
@@ -335,6 +335,7 @@
         // check if symbol has already been created
         if (arcRegion == null) {
             arcRegion = new Region();
+            arcRegion.setPickOnBounds(false); 
             item.setNode(arcRegion);
         }
         // Note: not sure if we want to add or check, ie be more careful and efficient here