chore: add top too
This commit is contained in:
parent
b1d1841fab
commit
ddc3d83836
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user