mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-12 03:13:24 +01:00
refresh constrs list on load
This commit is contained in:
parent
f9736e349c
commit
61c42e0906
2 changed files with 2 additions and 0 deletions
|
|
@ -267,6 +267,7 @@ TCAD.App2D.prototype.loadSketch = function(sketch, defaultLayer) {
|
|||
var c = this.parseConstr(sketch.constraints[i], index);
|
||||
this.viewer.parametricManager.system.push(c);
|
||||
}
|
||||
this.viewer.parametricManager.notify();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@
|
|||
|
||||
});
|
||||
app.viewer.parametricManager.listeners.push(function() {constrList.refresh()});
|
||||
constrList.refresh();
|
||||
}
|
||||
window.onload = function() {
|
||||
setTimeout(start, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue