Sfoglia il codice sorgente

auto commit

master
jfinn 3 anni fa
parent
commit
5f50266cde
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      src/scene/zoom.ts

+ 2
- 1
src/scene/zoom.ts Vedi File

@@ -51,8 +51,9 @@ export const getNormalizedZoom = (zoom: number): NormalizedZoomValue => {
51 51
   }
52 52
   if (window.tmp_hooks){
53 53
     tmp_hooks.gnz_fix = {fix}
54
+  } else {
55
+    // console.log("nfix",fix)
54 56
   }
55
-    console.log("nfix",fix)
56 57
 
57 58
   const normalizedZoom = parseFloat(zoom.toFixed(fix));
58 59
   const clampedZoom = Math.max(0.1, Math.min(normalizedZoom, 10));

Loading…
Annulla
Salva