diff --git a/package-lock.json b/package-lock.json index 0ac3a25..b9e8a3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "p5": "^1.2.0", - "svelte": "^3.24.0", + "svelte": "^3.35.0", "svelte-routing": "^1.5.0" }, "devDependencies": { @@ -9209,9 +9209,9 @@ } }, "node_modules/svelte": { - "version": "3.31.1", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.31.1.tgz", - "integrity": "sha512-Q8xVz5U/IFFNjgvVSjdzKJPAX0MFytFwiJo1HAPfGwM7LkHA+BN2q2kL8vKcJwjku7/509MapLov8C9SjogNRg==", + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.37.0.tgz", + "integrity": "sha512-TRF30F4W4+d+Jr2KzUUL1j8Mrpns/WM/WacxYlo5MMb2E5Qy2Pk1Guj6GylxsW9OnKQl1tnF8q3hG/hQ3h6VUA==", "engines": { "node": ">= 8" } @@ -17485,9 +17485,9 @@ } }, "svelte": { - "version": "3.31.1", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.31.1.tgz", - "integrity": "sha512-Q8xVz5U/IFFNjgvVSjdzKJPAX0MFytFwiJo1HAPfGwM7LkHA+BN2q2kL8vKcJwjku7/509MapLov8C9SjogNRg==" + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.37.0.tgz", + "integrity": "sha512-TRF30F4W4+d+Jr2KzUUL1j8Mrpns/WM/WacxYlo5MMb2E5Qy2Pk1Guj6GylxsW9OnKQl1tnF8q3hG/hQ3h6VUA==" }, "svelte-hmr": { "version": "0.12.2", diff --git a/package.json b/package.json index 7c69bcd..bc4dd7f 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "p5": "^1.2.0", - "svelte": "^3.24.0", + "svelte": "^3.35.0", "svelte-routing": "^1.5.0" }, "devDependencies": { diff --git a/src/ui/Toggle.svelte b/src/ui/Toggle.svelte index badf291..1721c6d 100644 --- a/src/ui/Toggle.svelte +++ b/src/ui/Toggle.svelte @@ -20,7 +20,6 @@ class:bg-green-600={!invert && active || invert && !active} class:bg-gray-600={!invert && !active || invert && active} on:click={toggle}> - {#if false}{/if} {#if active} {#if $$slots.active}