Add HandleControl to MathjaxHandle

This commit is contained in:
Henrik Giesel 2021-08-05 23:45:45 +02:00
parent a37460dbbe
commit f9a3c513ce

View file

@ -3,8 +3,9 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
--> -->
<script lang="ts"> <script lang="ts">
import HandleBackground from "./HandleBackground.svelte";
import HandleSelection from "./HandleSelection.svelte"; import HandleSelection from "./HandleSelection.svelte";
import HandleBackground from "./HandleBackground.svelte";
import HandleControl from "./HandleControl.svelte";
export let activeImage: HTMLImageElement | null = null; export let activeImage: HTMLImageElement | null = null;
export let container: HTMLElement; export let container: HTMLElement;
@ -13,5 +14,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<HandleSelection {container} {activeImage}> <HandleSelection {container} {activeImage}>
{#if activeImage} {#if activeImage}
<HandleBackground /> <HandleBackground />
<HandleControl active={false} />
{/if} {/if}
</HandleSelection> </HandleSelection>