mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Add HandleControl to MathjaxHandle
This commit is contained in:
parent
a37460dbbe
commit
f9a3c513ce
1 changed files with 4 additions and 1 deletions
|
@ -3,8 +3,9 @@ Copyright: Ankitects Pty Ltd and contributors
|
|||
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
-->
|
||||
<script lang="ts">
|
||||
import HandleBackground from "./HandleBackground.svelte";
|
||||
import HandleSelection from "./HandleSelection.svelte";
|
||||
import HandleBackground from "./HandleBackground.svelte";
|
||||
import HandleControl from "./HandleControl.svelte";
|
||||
|
||||
export let activeImage: HTMLImageElement | null = null;
|
||||
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}>
|
||||
{#if activeImage}
|
||||
<HandleBackground />
|
||||
|
||||
<HandleControl active={false} />
|
||||
{/if}
|
||||
</HandleSelection>
|
||||
|
|
Loading…
Reference in a new issue