Skip to content

Commit

Permalink
perf: skip updating children of inactive wrist-mounted ui
Browse files Browse the repository at this point in the history
  • Loading branch information
lojjic committed Mar 13, 2020
1 parent 948b0be commit c1b93f1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export class ContentContainer extends Object3DFacade {
super.afterUpdate()
}

// shouldUpdateChildren () {
// return !!this.active
// }
shouldUpdateChildren () {
return !!this.visible
}

describeChildren() {
let kids = this._kidsTpl || (this._kidsTpl = [
Expand Down

0 comments on commit c1b93f1

Please sign in to comment.