Skip to content

Commit

Permalink
fix: 修复节点和文本同时支持拖拽场景下,拖拽文本时节点也跟随移动问题 fix 1520
Browse files Browse the repository at this point in the history
  • Loading branch information
DymoneLewis authored and boyongjiong committed Dec 11, 2024
1 parent 809dbba commit c2630bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/view/text/BaseText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export class BaseText<
} = graphModel

if (draggable ?? nodeTextDraggable) {
e.stopPropagation()
this.stepperDrag.model = model
this.stepperDrag.handleMouseDown(e)
}
Expand Down

0 comments on commit c2630bf

Please sign in to comment.