mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -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:tag-editor",
|
||||
":ts:html-filter",
|
||||
":ts:image-occlusion",
|
||||
":sass",
|
||||
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
|
||||
-->
|
||||
<script>
|
||||
import { bridgeCommand } from "@tslib/bridgecommand";
|
||||
import * as tr from "@tslib/ftl";
|
||||
import DropdownItem from "components/DropdownItem.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,
|
||||
mdiEye,
|
||||
mdiFormatAlignCenter,
|
||||
mdiRefresh,
|
||||
mdiSquare,
|
||||
mdiViewDashboard,
|
||||
} from "./icons";
|
||||
|
@ -151,19 +149,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</WithFloating>
|
||||
</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 -->
|
||||
<div class="undo-redo-button">
|
||||
{#each undoRedoTools as tool}
|
||||
|
|
Loading…
Reference in a new issue