Skip to content

Commit ea8278c

Browse files
committed
Fix: oh shit oh no I'm sorry πŸ˜Άβ€πŸŒ«οΈ
1 parent e6ffd97 commit ea8278c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Now add `p5-svelte` to your project (ex. `src/App.svelte`):
8484
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ------------------- | --------- |
8585
| `sketch` | Your p5 sketch in instance mode | `Sketch` | `undefined` | yes |
8686
| `target` | An HTML element/node to mount the p5 canvas onto giving you full control of the parent wrapper that p5 renders a canvas as a child to | `HTMLElement` | `undefined` | no |
87-
| `parentDivStyle` | A p5 sketch instance -- you likely don't need this but this allows you to seed. Note: does nothing when paired with a `target` | `string` | `'display: block;'` | no |
87+
| `parentDivStyle` | CSS Styling for the underlying `div` target contained in `<P5/>`. Note: this will do nothing when paired with a `target` prop | `string` | `'display: block;'` | no |
8888
| `debug` | Logs everything about the p5 instance to the console for debugging purposes | `boolean` | `false` | no |
8989

9090
## p5.js instance mode

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "p5-svelte",
33
"description": "A component for easily using p5 sketches in Svelte. Allows using Svelte's reactivity system in p5.",
4-
"version": "3.1.1",
4+
"version": "3.1.2",
55
"keywords": [
66
"svelte",
77
"svelte-component",

0 commit comments

Comments
Β (0)