Hover and error line increased by 1 px.

This commit is contained in:
resurtm
2013-05-27 22:07:58 +06:00
parent 92aae3a0ba
commit 3870df7bc0

View File

@ -460,10 +460,10 @@ window.onload = function() {
}
lineNumbers[i].style.top = parseInt(lines[i].top - top) + 'px';
hoverLines[i].style.top = parseInt(lines[i].top - top) + 'px';
hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top) + 'px';
hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px';
if (parseInt(callStackItem.getAttribute('data-line')) == i) {
errorLine.style.top = parseInt(lines[i].top - top) + 'px';
errorLine.style.height = parseInt(lines[i].bottom - lines[i].top) + 'px';
errorLine.style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px';
}
}
};