File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -112,22 +112,22 @@ class Chart extends Component {
112
112
. attr ( 'r' , 20 ) ;
113
113
114
114
tooltipDiv . transition ( )
115
- . duration ( 200 )
115
+ . duration ( 50 )
116
116
. style ( 'opacity' , 0.9 ) ;
117
117
118
118
tooltipDiv . html ( JSON . stringify ( d . data . stateSnapshot . children [ 0 ] . state ) , this )
119
- . style ( 'left' , ( d3 . event . pageX ) + 'px' )
120
- . style ( 'top' , ( d3 . event . pageY - 28 ) + 'px' ) ;
119
+ . style ( 'left' , ( d3 . event . pageX - 90 ) + 'px' )
120
+ . style ( 'top' , ( d3 . event . pageY - 65 ) + 'px' ) ;
121
121
} )
122
122
// eslint-disable-next-line no-unused-vars
123
123
. on ( 'mouseout' , function ( d ) {
124
124
d3 . select ( this )
125
125
. transition ( )
126
- . duration ( 200 )
126
+ . duration ( 300 )
127
127
. attr ( 'r' , 12 ) ;
128
128
129
129
tooltipDiv . transition ( )
130
- . duration ( 500 )
130
+ . duration ( 400 )
131
131
. style ( 'opacity' , 0 ) ;
132
132
} ) ;
133
133
node
Original file line number Diff line number Diff line change @@ -161,11 +161,12 @@ chrome.runtime.onMessage.addListener((request, sender) => {
161
161
if ( ! persist ) {
162
162
tabsObj [ tabId ] . snapshots . splice ( 1 ) ;
163
163
// reset children in root node to reset graph
164
- if ( tabsObj [ tabId ] . hierarchy ) tabsObj [ tabId ] . hierarchy . children = [ ] ;
164
+ // if (tabsObj[tabId].hierarchy)
165
+ tabsObj [ tabId ] . hierarchy . children = [ ] ;
165
166
// reassigning pointer to the appropriate node to branch off of
166
167
tabsObj [ tabId ] . currLocation = tabsObj [ tabId ] . hierarchy ;
167
168
// reset index
168
- tabsObj [ tabId ] . index = 0 ;
169
+ tabsObj [ tabId ] . index = 1 ;
169
170
170
171
// send a message to devtools
171
172
portsArr . forEach ( bg => bg . postMessage ( {
You can’t perform that action at this time.
0 commit comments