Another try at fixing IO events issue (#3210)

This commit is contained in:
Abdo 2024-05-28 12:29:21 +03:00 committed by GitHub
parent 8229383b5c
commit 4ab0db3127
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -633,7 +633,7 @@ the AddCards dialog) should be implemented in the user of this component.
</Absolute>
{/if}
{#if imageOcclusionMode}
{#if imageOcclusionMode && ($ioMaskEditorVisible || imageOcclusionMode?.kind === "add")}
<div style="display: {$ioMaskEditorVisible ? 'block' : 'none'};">
<ImageOcclusionPage
mode={imageOcclusionMode}