2021-08-04 22:01:03 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
|
|
|
<script lang="ts">
|
2021-08-05 23:34:26 +02:00
|
|
|
import HandleBackground from "./HandleBackground.svelte";
|
|
|
|
import HandleSelection from "./HandleSelection.svelte";
|
|
|
|
|
|
|
|
export let activeImage: HTMLImageElement | null = null;
|
|
|
|
export let container: HTMLElement;
|
2021-08-04 22:01:03 +02:00
|
|
|
</script>
|
2021-08-05 23:34:26 +02:00
|
|
|
|
|
|
|
<HandleSelection {container} {activeImage}>
|
|
|
|
{#if activeImage}
|
|
|
|
<HandleBackground />
|
|
|
|
{/if}
|
|
|
|
</HandleSelection>
|