chore: add top too

This commit is contained in:
cha0s 2019-04-18 20:44:50 -05:00
parent b1d1841fab
commit ddc3d83836

View File

@ -69,6 +69,7 @@ export class Stage extends Container {
node.style.position = 'absolute';
node.style.width = `${this.size[0]}px`;
node.style.height = `${this.size[1]}px`;
node.style.left = 0;
node.style.top = 0;
node.style.transformOrigin = '0 0 0';
return node;