Sfoglia il codice sorgente

auto commit

master
jfinn 3 anni fa
parent
commit
3009ebbea1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      src/actions/actionCanvas.tsx

+ 2
- 2
src/actions/actionCanvas.tsx Vedi File

@@ -74,7 +74,6 @@ export const actionClearCanvas = register({
74 74
 export const actionZoomIn = register({
75 75
   name: "zoomIn",
76 76
   perform: (_elements, appState) => {
77
-    console.log("xdev zoom_in")
78 77
     /*
79 78
     var z = {
80 79
       ZOOM_STEP,
@@ -85,6 +84,7 @@ export const actionZoomIn = register({
85 84
     }
86 85
     var _ZOOM_STEP
87 86
     */
87
+    console.log("xdev perform_zoom_in",{ left: appState.offsetLeft, top: appState.offsetTop })
88 88
 
89 89
     const zoom = getNewZoom(
90 90
       getNormalizedZoom(appState.zoom.value + ZOOM_STEP),
@@ -92,7 +92,7 @@ export const actionZoomIn = register({
92 92
       { left: appState.offsetLeft, top: appState.offsetTop },
93 93
       { x: appState.width / 2, y: appState.height / 2 },
94 94
     );
95
-    console.trace("perform_zoom_in")
95
+    // console.trace("perform_zoom_in")
96 96
     // window.tmp_hooks ? tmp_hooks.ac2 = {NormalizedZoomValue,AppState} : 0
97 97
     window.tmp_hooks ? tmp_hooks.ac2 = {NormalizedZoomValue} : 0
98 98
     window.tmp_hooks ? tmp_hooks.zoomin2 = {zoom,_elements, appState,args:[...arguments],that:this} : 0

Loading…
Annulla
Salva