mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 00:46:01 +00:00
arrange with initial positions
This commit is contained in:
@@ -442,6 +442,8 @@
|
||||
nodes[table.designerId] = node;
|
||||
node.width = rect.right - rect.left;
|
||||
node.height = rect.bottom - rect.top;
|
||||
node.initX = (rect.right + rect.left) / 2;
|
||||
node.initY = (rect.bottom + rect.top) / 2;
|
||||
// console.log('RECT', rect);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user