From 998b91c1fe1d84a60443cdfc03c4a5711aba769f Mon Sep 17 00:00:00 2001 From: Abdo Date: Wed, 15 May 2024 14:48:58 +0300 Subject: [PATCH] Fix IO event handlers being run on normal notes (#3195) --- ts/editor/NoteEditor.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/editor/NoteEditor.svelte b/ts/editor/NoteEditor.svelte index a650a0822..5b24fdad4 100644 --- a/ts/editor/NoteEditor.svelte +++ b/ts/editor/NoteEditor.svelte @@ -644,8 +644,8 @@ the AddCards dialog) should be implemented in the user of this component. {/if} - {#if imageOcclusionMode} -
+ {#if $ioMaskEditorVisible && imageOcclusionMode} +