Skip to content

Commit 55764b7

Browse files
author
Philip Guo
committed
minor tiny style tweaks
1 parent 39419be commit 55764b7

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎v3/css/pytutor.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ div.ExecutionVisualizer div#editCodeLinkDiv {
120120
margin-top: 12px;
121121
margin-bottom: 4px;
122122
*/
123-
margin: 12px auto;
123+
margin: 6px auto;
124124
}
125125

126126
div.ExecutionVisualizer #errorOutput {

‎v3/js/pytutor.js‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,8 @@ ExecutionVisualizer.prototype.updateOutput = function() {
830830
// the highlighted line can either have a 'top' border, 'bottom'
831831
// border, or no border (null), depending on the value of 'borderType':
832832
var borderType = null;
833-
if (!hasError && !funcCallSiteLine) {
834-
if (curEntry.event == 'return' || isTerminated) {
833+
if (!hasError) {
834+
if (curEntry.event == 'call' || curEntry.event == 'return' || isTerminated) {
835835
borderType = 'bottom';
836836
}
837837
else {
@@ -1996,7 +1996,8 @@ ExecutionVisualizer.prototype.redrawConnectors = function() {
19961996
var highlightedLineColor = '#e4faeb';
19971997
var highlightedLineBorderColor = '#005583';
19981998

1999-
var highlightedLineLighterColor = '#effff3';
1999+
//var highlightedLineLighterColor = '#effff3';
2000+
var highlightedLineLighterColor = '#f2fff5';
20002001

20012002
var visitedLineColor = highlightedLineBorderColor;
20022003

0 commit comments

Comments
 (0)