Browse Source

fix: 调整流水线画布padding

pull/134/head
cp3hnu 1 year ago
parent
commit
44d4f505f1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      react-ui/src/pages/Experiment/Info/index.jsx
  2. +1
    -1
      react-ui/src/pages/Pipeline/Info/index.jsx

+ 1
- 1
react-ui/src/pages/Experiment/Info/index.jsx View File

@@ -353,7 +353,7 @@ function ExperimentText() {
fitView: true,
minZoom: 0.5,
maxZoom: 5,
fitViewPadding: 300,
fitViewPadding: 200,
modes: {
default: [
// config the shouldBegin for drag-node to avoid node moving while dragging on the anchor-point circles


+ 1
- 1
react-ui/src/pages/Pipeline/Info/index.jsx View File

@@ -433,7 +433,7 @@ const EditPipeline = () => {
fitView: true,
minZoom: 0.5,
maxZoom: 5,
fitViewPadding: 300,
fitViewPadding: 200,
modes: {
default: [
// config the shouldBegin for drag-node to avoid node moving while dragging on the anchor-point circles


Loading…
Cancel
Save