mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
parent
812f5bc8be
commit
d441680984
2 changed files with 1 additions and 15 deletions
|
@ -374,6 +374,7 @@ fn build_and_check_editor(build: &mut Build) -> Result<()> {
|
||||||
":ts:sveltelib",
|
":ts:sveltelib",
|
||||||
":ts:tag-editor",
|
":ts:tag-editor",
|
||||||
":ts:html-filter",
|
":ts:html-filter",
|
||||||
|
":ts:image-occlusion",
|
||||||
":sass",
|
":sass",
|
||||||
glob!("ts/{editable,editor}/**")
|
glob!("ts/{editable,editor}/**")
|
||||||
];
|
];
|
||||||
|
|
|
@ -3,7 +3,6 @@ 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>
|
<script>
|
||||||
import { bridgeCommand } from "@tslib/bridgecommand";
|
|
||||||
import * as tr from "@tslib/ftl";
|
import * as tr from "@tslib/ftl";
|
||||||
import DropdownItem from "components/DropdownItem.svelte";
|
import DropdownItem from "components/DropdownItem.svelte";
|
||||||
import IconButton from "components/IconButton.svelte";
|
import IconButton from "components/IconButton.svelte";
|
||||||
|
@ -14,7 +13,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
mdiChevronDown,
|
mdiChevronDown,
|
||||||
mdiEye,
|
mdiEye,
|
||||||
mdiFormatAlignCenter,
|
mdiFormatAlignCenter,
|
||||||
mdiRefresh,
|
|
||||||
mdiSquare,
|
mdiSquare,
|
||||||
mdiViewDashboard,
|
mdiViewDashboard,
|
||||||
} from "./icons";
|
} from "./icons";
|
||||||
|
@ -151,19 +149,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
</WithFloating>
|
</WithFloating>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- refresh for changing image -->
|
|
||||||
<div class="undo-redo-button">
|
|
||||||
<IconButton
|
|
||||||
class="top-tool-icon-button icon-border-radius"
|
|
||||||
{iconSize}
|
|
||||||
on:click={() => {
|
|
||||||
bridgeCommand("addImageForOcclusion");
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{@html mdiRefresh}
|
|
||||||
</IconButton>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- undo & redo tools -->
|
<!-- undo & redo tools -->
|
||||||
<div class="undo-redo-button">
|
<div class="undo-redo-button">
|
||||||
{#each undoRedoTools as tool}
|
{#each undoRedoTools as tool}
|
||||||
|
|
Loading…
Reference in a new issue