Parcourir la source

Fix centering of line showing the height of buildings

Baptiste Jonglez il y a 6 ans
Parent
commit
b3de9cd906
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      panorama/static/panorama/js/pano.js

+ 2 - 2
panorama/static/panorama/js/pano.js

@@ -212,8 +212,8 @@ function drawDecorations(ox, oy, tx, ty, twidth, theight) {
             cntext.arc(cx, cy, 20, 0, 2*Math.PI, true);
             cntext.fill();
             // Draw line that shows the height of the building
-            cntext.fillStyle = "rgba(0,0,255,0.6)";
-            cntext.fillRect(cx-1, cy, 2, cy_ground - cy);
+            cntext.fillStyle = "rgba(0,0,255,0.45)";
+            cntext.fillRect(cx-1, cy, 3, cy_ground - cy);
         }
     }
     if (twidth) {