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>) {
145
145
// further optimization would improve the onclick feature, onclick seems to only register on the lower half of the node
146
146
node
147
147
. append ( 'circle' )
148
- . attr ( 'r' , 13 )
148
+ . attr ( 'r' , 14 )
149
149
. 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 ) ;
151
151
} )
152
152
. on ( 'click' , function ( d : `Record<string, unknown>`) {
153
153
const index = parseInt ( `${ d . data . name } .${ d . data . branch } ` ) ;
@@ -156,7 +156,7 @@ function History(props: Record<string, unknown>) {
156
156
} )
157
157
// think about how I can convert this any to typescript
158
158
. 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 ) ;
160
160
} ) ;
161
161
162
162
node
You can’t perform that action at this time.
0 commit comments