Skip to content

Commit

Permalink
Website updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed Dec 30, 2024
1 parent 5278e27 commit f045ed3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion dist/en/main/examples/offscreen-canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,13 @@ <h5 class="source-heading">worker.js</h5>
frameState.layerStatesArray &#x3D; layers.map((l) &#x3D;&gt; l.getLayerState());
layers.forEach((layer) &#x3D;&gt; {
if (inView(layer.getLayerState(), frameState.viewState)) {
const renderer &#x3D; layer.getRenderer();
if (!renderer.prepareFrame(frameState)) {
return;
}
if (layer.getDeclutter() &amp;&amp; !frameState.declutterTree) {
frameState.declutter &#x3D; {};
}
const renderer &#x3D; layer.getRenderer();
renderer.renderFrame(frameState, canvas);
}
});
Expand Down
2 changes: 1 addition & 1 deletion dist/en/main/examples/offscreen-canvas.worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/en/main/examples/offscreen-canvas.worker.worker.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit f045ed3

Please sign in to comment.