Skip to content

Commit 5ad3b26

Browse files
committed
docs: Sidebar hidden by default
1 parent 1a342c5 commit 5ad3b26

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

apps/docs/src/pages/examples.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import Layout from "../layouts/Layout.astro";
3232

3333
<main
3434
id="examples-main"
35-
data-sidebar-open="true"
35+
data-sidebar-open="false"
3636
class="group flex justify-center items-center min-h-screen"
3737
>
3838
<aside

packages/byegl/src/byegl-context.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,9 +1816,14 @@ export class ByeGLContext {
18161816
},
18171817
});
18181818

1819-
const clearColorValue = this.#parameters.get(gl.COLOR_CLEAR_VALUE);
1820-
const clearDepthValue = this.#parameters.get(gl.DEPTH_CLEAR_VALUE);
1821-
const clearStencilValue = this.#parameters.get(gl.STENCIL_CLEAR_VALUE);
1819+
const clearColorValue: Float32Array = this.#parameters.get(
1820+
gl.COLOR_CLEAR_VALUE,
1821+
);
1822+
const clearDepthValue: number = this.#parameters.get(gl.DEPTH_CLEAR_VALUE);
1823+
const clearStencilValue: number = this.#parameters.get(
1824+
gl.STENCIL_CLEAR_VALUE,
1825+
);
1826+
18221827
const renderPass = encoder.beginRenderPass({
18231828
label: 'ByeGL Render Pass',
18241829
colorAttachments: [

0 commit comments

Comments
 (0)