Skip to content

Commit 0ff03e5

Browse files
committed
sometimes highlighting is buggy on Safari, so nix it
1 parent 7a54fad commit 0ff03e5

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎v3/js/pytutor.js‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
16931693
// Render globals and then stack frames using d3:
16941694

16951695

1696+
// TODO: this sometimes seems buggy on Safari, so nix it for now:
16961697
function highlightAliasedConnectors(d, i) {
16971698
// if this row contains a stack pointer, then highlight its arrow and
16981699
// ALL aliases that also point to the same heap object
@@ -1752,8 +1753,6 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
17521753
// ENTER
17531754
globalsD3.enter()
17541755
.append('tr')
1755-
.on('mouseover', highlightAliasedConnectors)
1756-
.on('mouseout', unhighlightAllConnectors)
17571756
.selectAll('td.stackFrameVar,td.stackFrameValue')
17581757
.data(function(d, i){return d;}) /* map varname down both columns */
17591758
.enter()
@@ -1898,9 +1897,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
18981897

18991898
stackVarTable
19001899
.enter()
1901-
.append('tr')
1902-
.on('mouseover', highlightAliasedConnectors)
1903-
.on('mouseout', unhighlightAllConnectors);
1900+
.append('tr');
19041901

19051902

19061903
var stackVarTableCells = stackVarTable

0 commit comments

Comments
 (0)