diff --git a/frontend/src/lib/components/BoxSelection.svelte b/frontend/src/lib/components/BoxSelection.svelte new file mode 100644 index 0000000..1bf4b99 --- /dev/null +++ b/frontend/src/lib/components/BoxSelection.svelte @@ -0,0 +1,40 @@ + + + +
+ + + + + + + + + + + + diff --git a/frontend/src/lib/components/Camera.svelte b/frontend/src/lib/components/Camera.svelte index 1b8a475..a41c3b5 100644 --- a/frontend/src/lib/components/Camera.svelte +++ b/frontend/src/lib/components/Camera.svelte @@ -2,7 +2,7 @@ import { T } from "@threlte/core"; import { OrbitControls } from "@threlte/extras"; import { onMount } from "svelte"; - import { type OrthographicCamera } from "three"; + import { MOUSE, type OrthographicCamera } from "three"; export let camera: OrthographicCamera | undefined = undefined; export let maxZoom = 150; @@ -57,6 +57,7 @@ +{#if boxSelection && mouseDown} + +{/if} + {#if $status === "idle"} {#if $activeSocket}