Browse Source

increase bounds

AykutSarac 3 năm trước cách đây
mục cha
commit
2b658563fb

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

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