Remove select image button in I/O

Closes #2620
This commit is contained in:
Damien Elmes 2023-09-17 11:34:23 +10:00
parent 812f5bc8be
commit d441680984
2 changed files with 1 additions and 15 deletions

View file

@ -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}/**")
];

View file

@ -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}