File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-d3-brush" ,
3- "version" : " 1.0.4 " ,
3+ "version" : " 1.1.0 " ,
44 "description" : " react-d3 brush implementation" ,
55 "main" : " ./lib/index" ,
66 "scripts" : {
4040 },
4141 "dependencies" : {
4242 "d3" : " ^3.5.6" ,
43- "react-d3-basic" : " ^1.1.5 " ,
43+ "react-d3-basic" : " ^1.2.0 " ,
4444 "react-d3-core" : " ^1.0.5" ,
4545 "react-dom" : " ^0.14.0"
4646 }
Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ export default class Brush extends Component {
121121 }
122122 } ) ;
123123
124- d3 . select ( ReactDOM . findDOMNode ( this . refs . brushRect ) )
124+ var brushDom = d3 . select ( ReactDOM . findDOMNode ( this . refs . brushRect ) )
125125 . call ( brush )
126126 . selectAll ( 'rect' )
127127 . attr ( "y" , - 6 )
128128 . attr ( "height" , brushHeight - brushMargins . bottom - brushMargins . top + 7 )
129129 . style ( 'stroke' , '#FFF' )
130- . style ( 'fill-opacity' , .125 )
130+ . style ( 'fill-opacity' , .25 )
131131 . style ( 'shape-rendering' , 'crispEdges' ) ;
132132
133133 this . setState ( {
You can’t perform that action at this time.
0 commit comments