Commit fa98b350 authored by rockyl's avatar rockyl

修复节点偏移的问题

parent 7ae4a05f
...@@ -169,8 +169,8 @@ ...@@ -169,8 +169,8 @@
} }
const data = await this.addSubProcessData(processId, { const data = await this.addSubProcessData(processId, {
x: e.offsetX - 9, x: e.offsetX - this.boardOffset.x - 9,
y: e.offsetY, y: e.offsetY - this.boardOffset.y,
}); });
if (!data) { if (!data) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment