mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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
|
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>
|
||||||
|
|
Loading…
Reference in a new issue