diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index 1af3ecf..8a633b9 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -462,7 +462,7 @@ $(" ."+formaClass).hover(function(idx, element) { //minimap.style.width='15%'; minimap.style.width = '100%'; - realScale = minimap.clientWidth / bodyWidth; + realScale = minimap.clientWidth / (bodyWidth / 2); minimapSize.style.paddingTop = `${bodyRatio * 100}%` viewer.style.paddingTop = `${winRatio * 100}%`;