bug fix in usage of setTimeout

This commit is contained in:
BroodjeAap 2023-04-08 17:59:12 +00:00
parent c6d17398c7
commit 865349ee68
3 changed files with 5 additions and 5 deletions

View file

@ -395,8 +395,8 @@ var _diagram;
function tick() {
_diagram.tick();
setTimeout(function () {
tick(), 1000 / 60;
});
tick();
}, 1000 / 60);
}
function diagramOnResize() {
_diagram.onresize();

File diff suppressed because one or more lines are too long

View file

@ -473,8 +473,8 @@ let _diagram: Diagrams;
function tick(){
_diagram.tick();
setTimeout(() => {
tick(), 1000/60;
});
tick();
}, 1000/60);
}
function diagramOnResize(){
_diagram.onresize();