mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
Add tooltip to mask editor button
This commit is contained in:
parent
726a59118f
commit
d744a7cceb
2 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ editing-image-occlusion-rectangle-tool = Rectangle
|
|||
editing-image-occlusion-ellipse-tool = Ellipse
|
||||
editing-image-occlusion-polygon-tool = Polygon
|
||||
editing-image-occlusion-text-tool = Text
|
||||
|
||||
editing-image-occlusion-toggle-mask-editor = Toggle Mask Editor
|
||||
|
||||
## You don't need to translate these strings, as they will be replaced with different ones soon.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors
|
|||
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
-->
|
||||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import ButtonGroup from "components/ButtonGroup.svelte";
|
||||
import DynamicallySlottable from "components/DynamicallySlottable.svelte";
|
||||
import IconButton from "components/IconButton.svelte";
|
||||
|
|
@ -33,6 +34,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
on:click={() => {
|
||||
$ioMaskEditorVisible = !$ioMaskEditorVisible;
|
||||
}}
|
||||
tooltip={tr.editingImageOcclusionToggleMaskEditor()}
|
||||
>
|
||||
{@html mdiViewDashboard}
|
||||
</IconButton>
|
||||
|
|
|
|||
Loading…
Reference in a new issue