@likable-hair/svelte 4.0.35 → 4.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -227,8 +227,8 @@ function handleOverlayClick() {
227
227
 
228
228
  <style>
229
229
  .overlay-container {
230
- height: 100vh;
231
- width: 100vw;
230
+ height: 100dvh;
231
+ width: 100dvw;
232
232
  position: fixed;
233
233
  top: 0px;
234
234
  left: 0px;
@@ -29,7 +29,8 @@ class Teleporter {
29
29
  }
30
30
  destroyNode(uid) {
31
31
  let node = this.nodes[uid];
32
- node.remove();
32
+ if (!!node)
33
+ node.remove();
33
34
  }
34
35
  }
35
36
  export default Teleporter;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair and others",
4
- "version": "4.0.35",
4
+ "version": "4.0.37",
5
5
  "scripts": {
6
6
  "host": "vite --host",
7
7
  "dev": "vite dev",