浏览代码

auto commit

master
jfinn 3 年前
父节点
当前提交
3b4cfd8b00
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2
    4
      src/components/ColorPicker.tsx

+ 2
- 4
src/components/ColorPicker.tsx 查看文件

201
     },
201
     },
202
     ref,
202
     ref,
203
   ) => {
203
   ) => {
204
-    console.log("ColorInput 0")
205
-    // console.trace("ColorInput_trc")
204
+    // console.log("ColorInput 0")
206
     const [innerValue, setInnerValue] = React.useState(color);
205
     const [innerValue, setInnerValue] = React.useState(color);
207
     const inputRef = React.useRef(null);
206
     const inputRef = React.useRef(null);
208
 
207
 
225
       },
224
       },
226
       [onChange],
225
       [onChange],
227
     );
226
     );
228
-    console.log("COLOR INPUT!")
229
     /*
227
     /*
228
+    console.log("COLOR INPUT!")
230
     window.tdx = {
229
     window.tdx = {
231
     changeColor,
230
     changeColor,
232
     setInnerValue,
231
     setInnerValue,
268
   isActive: boolean;
267
   isActive: boolean;
269
   setActive: (active: boolean) => void;
268
   setActive: (active: boolean) => void;
270
 }) => {
269
 }) => {
271
-    console.trace("ColorInput_trc1")
272
   const pickerButton = React.useRef<HTMLButtonElement>(null);
270
   const pickerButton = React.useRef<HTMLButtonElement>(null);
273
 
271
 
274
   return (
272
   return (

正在加载...
取消
保存