瀏覽代碼

auto commit

master
jfinn 3 年之前
父節點
當前提交
5f50266cde
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      src/scene/zoom.ts

+ 2
- 1
src/scene/zoom.ts 查看文件

@@ -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…
取消
儲存