From 59b7ac963aa352b63cad7a7ee8622134542fe4fb Mon Sep 17 00:00:00 2001 From: cesare Date: Sat, 4 Feb 2023 16:47:05 +0100 Subject: [PATCH] struttura sintattica, in progress --- js/cesareBrowse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}%`;