From 3870df7bc0c991acbe297b64be6b51dd08be5490 Mon Sep 17 00:00:00 2001 From: resurtm Date: Mon, 27 May 2013 22:07:58 +0600 Subject: [PATCH] Hover and error line increased by 1 px. --- framework/yii/views/errorHandler/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/yii/views/errorHandler/main.php b/framework/yii/views/errorHandler/main.php index bf4e506..3bf5bca 100644 --- a/framework/yii/views/errorHandler/main.php +++ b/framework/yii/views/errorHandler/main.php @@ -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'; } } };