Commit 0db8de1d by doszhang

dos

parent 2b31ca84
......@@ -166,7 +166,7 @@ function ruleScroll() {
let step = (39 * fontSize) / (scrollHeight * fontSize);
let scrollTop = $('.rule-block').scrollTop();
$('.scroll-bar').css('top', scrollTop * step + 'px');
$('.scroll-bar').css('top', (7.9 * fontSize) + scrollTop * step + 'px');
}
function hideRule() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment