mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-18 09:17:15 +08:00
Hover and error line increased by 1 px.
This commit is contained in:
@ -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';
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user