File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1640,7 +1640,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
16401640
16411641 if ( i == 0 ) {
16421642 if ( varname == '__return__' && ! frame . is_zombie )
1643- $ ( this ) . html ( '<span class="retval">Return value</span>' ) ;
1643+ $ ( this ) . html ( '<span class="retval">Return<br/> value</span>' ) ;
16441644 else
16451645 $ ( this ) . html ( varname ) ;
16461646 }
@@ -1698,8 +1698,11 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
16981698 . remove ( ) ;
16991699
17001700
1701+ // crap, we need to repaint all of the existing connectors in case their endpoints have shifted
1702+ // due to page elements shifting around :(
1703+ myViz . jsPlumbInstance . repaintEverything ( ) ;
17011704
1702- // finally add all the connectors!
1705+ // finally add all the NEW connectors that have arisen in this call to renderDataStructures
17031706 connectionEndpointIDs . forEach ( function ( varID , valueID ) {
17041707 myViz . jsPlumbInstance . connect ( { source : varID , target : valueID } ) ;
17051708 } ) ;
You can’t perform that action at this time.
0 commit comments