소스 검색

increase bounds

AykutSarac 3 년 전
부모
커밋
2b658563fb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/containers/LiveEditor/index.tsx

+ 2 - 2
src/containers/LiveEditor/index.tsx

@@ -87,8 +87,8 @@ export const LiveEditor: React.FC = React.memo(function LiveEditor() {
               nodes={data.nodes}
               node={(props) => <CustomNode {...props} />}
               edges={data.edges}
-              maxWidth={size.width}
-              maxHeight={size.height}
+              maxWidth={size.width + 1000}
+              maxHeight={size.height + 1000}
               zoomable={false}
               fit={true}
               direction={settings.layout}