Skip to content

Commit 34f108e

Browse files
author
Philip Guo
committed
teeny
1 parent e443ad4 commit 34f108e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎v3/js/pytutor.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,13 +919,14 @@ ExecutionVisualizer.prototype.updateOutput = function(smoothTransition) {
919919
.attr('transform', translatePrevCmd)
920920
.attr('fill', lightArrowColor);
921921

922+
gutterSVG.find('#prevLineArrow').show(); // show at the end to avoid flickering
922923
});
923924
}
924925
else {
925926
pla.attr('transform', translatePrevCmd)
927+
gutterSVG.find('#prevLineArrow').show();
926928
}
927929

928-
gutterSVG.find('#prevLineArrow').show();
929930
}
930931
else {
931932
gutterSVG.find('#prevLineArrow').hide();

0 commit comments

Comments
 (0)