소스 검색

remove unneeded class

Darragh Burke 5 년 전
부모
커밋
26ac403694
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      inspector/src/components/actionTabs/tabs/propertyGrids/materials/textures/colorPicker.tsx

+ 0 - 8
inspector/src/components/actionTabs/tabs/propertyGrids/materials/textures/colorPicker.tsx

@@ -1,8 +0,0 @@
-import * as React from 'react';
-import { SketchPicker } from 'react-color';
-import { Color4 } from 'babylonjs';
-
-export function ColorPicker() {
-    const [color, setColor] = React.useState(new Color4());
-    return <SketchPicker color={color.toHexString(false)}  onChange={color => setColor(new Color4(color.rgb.r / 255,color.rgb.g / 255,color.rgb.b / 255,color.rgb.a))}/>;
-}