Skip to content

Commit

Permalink
Grid children disappear once linked mesh is outside view (#12607)
Browse files Browse the repository at this point in the history
Fixes #12602
  • Loading branch information
RaananW committed May 31, 2022
1 parent 4c593b5 commit 8e2fbe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dev/gui/src/2D/controls/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export class Container extends Control {

public _flagDescendantsAsMatrixDirty(): void {
for (const child of this.children) {
child._isClipped = false;
child._markMatrixAsDirty();
}
}
Expand Down

0 comments on commit 8e2fbe2

Please sign in to comment.