File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ function History(props: Record<string, unknown>) {
145145 // further optimization would improve the onclick feature, onclick seems to only register on the lower half of the node
146146 node
147147 . append ( 'circle' )
148- . attr ( 'r' , 13 )
148+ . attr ( 'r' , 14 )
149149 . on ( 'mouseover' , function ( d : `Record<string, unknown>`) {
150- d3 . select ( this ) . transition ( 100 ) . duration ( 20 ) . attr ( 'r' , 20 ) ;
150+ d3 . select ( this ) . transition ( 90 ) . duration ( 18 ) . attr ( 'r' , 21 ) ;
151151 } )
152152 . on ( 'click' , function ( d : `Record<string, unknown>`) {
153153 const index = parseInt ( `${ d . data . name } .${ d . data . branch } ` ) ;
@@ -156,7 +156,7 @@ function History(props: Record<string, unknown>) {
156156 } )
157157 // think about how I can convert this any to typescript
158158 . on ( 'mouseout' , function ( d : any ) {
159- d3 . select ( this ) . transition ( ) . duration ( 300 ) . attr ( 'r' , 13 ) ;
159+ d3 . select ( this ) . transition ( ) . duration ( 300 ) . attr ( 'r' , 14 ) ;
160160 } ) ;
161161
162162 node
You can’t perform that action at this time.
0 commit comments