Skip to content

Commit

Permalink
pg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzakm committed Feb 29, 2024
1 parent f88ba9e commit 13a02e7
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions apps/playground/src/lib/components/App.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<script lang="ts">
import { Canvas } from '@threlte/core';
import Renderer from './Renderer.svelte';
</script>

<Canvas>
<Renderer />
<slot />
</Canvas>
<div>
<Canvas>
<Renderer />
<slot />
</Canvas>
</div>

<style>
div {
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
}
</style>

0 comments on commit 13a02e7

Please sign in to comment.