diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js index 62f37e7..cd83207 100644 --- a/js/wwwsqldesigner.js +++ b/js/wwwsqldesigner.js @@ -632,6 +632,7 @@ SQL.Table.prototype.init = function(owner, name, x, y, z) { this.x = x || 0; this.y = y || 0; this.setZ(z); + this.snap(); } SQL.Table.prototype._build = function() { @@ -769,31 +770,37 @@ SQL.Table.prototype.redraw = function() { for (var i=0;i