File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1186,14 +1186,15 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
11861186 . tween ( 'krazyTween' , function ( ) {
11871187 var i = d3 . interpolate ( $ ( this ) . find ( 'div.heapObject' ) . height ( ) , '0' ) ;
11881188 return function ( t ) {
1189- myViz . redrawConnectors ( ) ; // TODO: could be slow!
1189+ myViz . redrawConnectors ( ) ;
11901190 $ ( this ) . find ( 'div.heapObject' ) . height ( i ( t ) ) ;
11911191 }
11921192 } )
11931193 . duration ( 1000 )
11941194 . each ( 'end' , function ( ) {
11951195 hrExit . remove ( ) ;
1196- myViz . updateOutput ( ) ; // ugh
1196+ myViz . redrawConnectors ( ) ;
1197+ //myViz.updateOutput(); // TODO: is this necessary or overkill?
11971198 } ) ;
11981199 }
11991200 else {
@@ -1252,14 +1253,15 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
12521253 . tween ( 'krazyTween' , function ( ) {
12531254 var i = d3 . interpolate ( $ ( this ) . find ( 'div.heapObject' ) . width ( ) , '0' ) ;
12541255 return function ( t ) {
1255- myViz . redrawConnectors ( ) ; // TODO: could be slow!
1256+ myViz . redrawConnectors ( ) ;
12561257 $ ( this ) . find ( 'div.heapObject' ) . width ( i ( t ) ) ;
12571258 }
12581259 } )
12591260 . duration ( 800 )
12601261 . each ( 'end' , function ( ) {
12611262 tlhExit . remove ( ) ;
1262- myViz . updateOutput ( ) ; // ugh
1263+ myViz . redrawConnectors ( ) ;
1264+ //myViz.updateOutput(); // TODO: is this necessary or overkill?
12631265 } ) ;
12641266
12651267 }
You can’t perform that action at this time.
0 commit comments