{#each tools as tool} { activeTool = tool.id; }} > {@html tool.icon} {#if $ioMaskEditorVisible && !$textEditingState} { activeTool = tool.id; }} /> {/if} {/each}
(showFloating = false)} > (showFloating = !showFloating)} > {@html $hideAllGuessOne ? mdiViewDashboard : mdiSquare} changeOcclusionType("all")} > {tr.notetypesHideAllGuessOne()} changeOcclusionType("one")} > {tr.notetypesHideOneGuessOne()}
{#each undoRedoTools as tool} {@html tool.icon} {#if $ioMaskEditorVisible && !$textEditingState} {/if} {/each}
{#each zoomTools as tool} { tool.action(instance); }} > {@html tool.icon} {#if $ioMaskEditorVisible && !$textEditingState} { tool.action(instance); }} /> {/if} {/each}
{ maksOpacity = !maksOpacity; makeMaskTransparent(canvas, maksOpacity); }} > {@html mdiEye} {#if $ioMaskEditorVisible && !$textEditingState} { maksOpacity = !maksOpacity; makeMaskTransparent(canvas, maksOpacity); }} /> {/if} {#each deleteDuplicateTools as tool} { tool.action(canvas); undoStack.onObjectModified(); }} > {@html tool.icon} {#if $ioMaskEditorVisible && !$textEditingState} { tool.action(canvas); emitChangeSignal(); }} /> {/if} {/each}
{#each groupUngroupTools as tool} { tool.action(canvas); undoStack.onObjectModified(); }} > {@html tool.icon} {#if $ioMaskEditorVisible && !$textEditingState} { tool.action(canvas); emitChangeSignal(); }} /> {/if} {/each} { showAlignTools = !showAlignTools; leftPos = e.pageX - 100; }} > {@html mdiFormatAlignCenter}