This commit is contained in:
Colin Megill
2021-10-01 18:28:47 -07:00
committed by GitHub
parent be020deaa6
commit e6bacf043b
@@ -57,11 +57,12 @@ class CentroidLabels extends PureComponent {
};
handleMouseEnter = (e, colorAccessor, label) => {
console.log(colorAccessor, label);
const { dispatch } = this.props;
dispatch({
type: "category value mouse hover start",
metadataField: colorAccessor,
categoryField: label,
label,
});
};
@@ -70,7 +71,7 @@ class CentroidLabels extends PureComponent {
dispatch({
type: "category value mouse hover end",
metadataField: colorAccessor,
categoryField: label,
label,
});
};