Skip to content

Commit

Permalink
hard code cause i cant fucking work with the code base rn for some in…
Browse files Browse the repository at this point in the history
…explainable reason
  • Loading branch information
RedMan13 authored Aug 20, 2024
1 parent faf3ebd commit 23a4aac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,7 @@ class Runtime extends EventEmitter {
this.renderer = renderer;
this.renderer.setLayerGroupOrdering(StageLayering.LAYER_GROUPS);
this.renderer.offscreenTouching = !this.runtimeOptions.fencing;
this.renderer.renderOffscreen = this.runtimeOptions.disableOffscreenRendering;
// this.renderer.renderOffscreen = this.runtimeOptions.disableOffscreenRendering;
this.updatePrivacy();
}

Expand Down Expand Up @@ -3053,9 +3053,11 @@ class Runtime extends EventEmitter {
if (this.renderer) {
this.renderer.offscreenTouching = !this.runtimeOptions.fencing;
// if these miss match then update (do full rerender as the state drastically changes output)
/*
if (this.runtimeOptions.disableOffscreenRendering === this.renderer.renderOffscreen) {
this.renderer.setRenderOffscreen(!this.runtimeOptions.disableOffscreenRendering);
}
*/
}
}

Expand Down

0 comments on commit 23a4aac

Please sign in to comment.