Skip to content

Commit 267e76c

Browse files
authored
DotScreenNode: Fix updateBefore(). (#28885)
1 parent 8a102ea commit 267e76c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nodes/display/DotScreenNode.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class DotScreenNode extends TempNode {
2525

2626
}
2727

28-
updateBefore() {
28+
updateBefore( frame ) {
2929

30-
const map = this.inputNode.value;
30+
const { renderer } = frame;
3131

32-
this._size.value.set( map.image.width, map.image.height );
32+
renderer.getSize( this._size.value );
3333

3434
}
3535

0 commit comments

Comments
 (0)