INNER CODE UNIT · JavaScript
scale
ayushk7/CodeWire · javascript/AppStage/intiStage.js:62
let scale = containerWidth / stage.width();
stage.width(container.offsetWidth);
stage.height(container.offsetHeight);
stage.draw();
});
return stage;
}
}