Skip to content

Commit d9c3946

Browse files
author
Philip Guo
committed
ergh
1 parent 1220a8e commit d9c3946

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

PyTutorGAE/js/pytutor.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)