Browse Source

remove center on init

AykutSarac 2 năm trước cách đây
mục cha
commit
430ca7e14c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/components/Graph/index.tsx

+ 0 - 1
src/components/Graph/index.tsx

@@ -100,7 +100,6 @@ export const Graph: React.FC<GraphProps & CanvasContainerProps> = ({
         initialScale={0.7}
         wheel={wheelOptions}
         onInit={onInit}
-        centerOnInit
       >
         <TransformComponent
           wrapperStyle={{