Skip to content

Commit 5cbf216

Browse files
authored
feat: Loop body supports zooming in and out (#4100)
1 parent ec77948 commit 5cbf216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/workflow/nodes/loop-body-node/LoopBodyContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function enlargeHandle() {
202202
props.nodeModel.graphModel.transformModel.focusOn(
203203
props.nodeModel.x,
204204
props.nodeModel.y,
205-
props.nodeModel.width + 470,
205+
props.nodeModel.width + window.innerWidth - props.nodeModel.width,
206206
props.nodeModel.height - 30,
207207
)
208208
height.value =

0 commit comments

Comments
 (0)