Skip to content

Commit 3870df7

Browse files
committed
Hover and error line increased by 1 px.
1 parent 92aae3a commit 3870df7

File tree

1 file changed

+2
-2
lines changed
  • framework/yii/views/errorHandler

1 file changed

+2
-2
lines changed

framework/yii/views/errorHandler/main.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,10 @@
460460
}
461461
lineNumbers[i].style.top = parseInt(lines[i].top - top) + 'px';
462462
hoverLines[i].style.top = parseInt(lines[i].top - top) + 'px';
463-
hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top) + 'px';
463+
hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px';
464464
if (parseInt(callStackItem.getAttribute('data-line')) == i) {
465465
errorLine.style.top = parseInt(lines[i].top - top) + 'px';
466-
errorLine.style.height = parseInt(lines[i].bottom - lines[i].top) + 'px';
466+
errorLine.style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px';
467467
}
468468
}
469469
};

0 commit comments

Comments
 (0)