瀏覽代碼

remove centerOnInıt

AykutSarac 3 年之前
父節點
當前提交
c71832525e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/containers/LiveEditor/index.tsx

+ 0 - 1
src/containers/LiveEditor/index.tsx

@@ -53,7 +53,6 @@ export const LiveEditor: React.FC = React.memo(function LiveEditor() {
           initialScale={0.9}
           wheel={wheelOptions}
           onInit={onInit}
-          centerOnInit
         >
           <TransformComponent
             wrapperStyle={{