Skip to content

Commit

Permalink
fix(2d): fix shader destination uv (#1026)
Browse files Browse the repository at this point in the history
Closes: #1013
  • Loading branch information
aarthificial committed May 16, 2024
1 parent c5b02d1 commit b591c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/2d/src/lib/components/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ export class Node implements Promisable<Node> {
protected parentWorldSpaceCacheBBox(): BBox {
return (
this.findAncestor(node => node.requiresCache())?.worldSpaceCacheBBox() ??
new BBox(Vector2.zero, useScene2D().getSize())
new BBox(Vector2.zero, useScene2D().getRealSize())
);
}

Expand Down

0 comments on commit b591c41

Please sign in to comment.