mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 03:18:11 +08:00
deselect in component
This commit is contained in:
@@ -63,13 +63,11 @@ class Graph extends React.Component {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
handleBrushDeselectAction() {
|
handleBrushDeselectAction() {
|
||||||
// function brushended() {
|
if (!d3.event.selection) {
|
||||||
// if (!d3.event.selection) {
|
this.props.dispatch({
|
||||||
// console.log('graph brush deselect')
|
type: "graph brush deselect"
|
||||||
// }
|
})
|
||||||
// }
|
}
|
||||||
|
|
||||||
console.log('handle deselect')
|
|
||||||
}
|
}
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
/* maybe should do a check here to confirm ref exists and pass it? */
|
/* maybe should do a check here to confirm ref exists and pass it? */
|
||||||
|
|||||||
Reference in New Issue
Block a user