fix background problem

This commit is contained in:
kwaroran
2024-07-29 01:11:10 +09:00
parent 4381694089
commit fe5e3f7ff3

View File

@@ -42,13 +42,15 @@
{#if backgroundHTML || $moduleBackgroundEmbedding} {#if backgroundHTML || $moduleBackgroundEmbedding}
{#key $CurrentVariablePointer} {#if $selectedCharID > -1}
{#key $ReloadGUIPointer} {#key $CurrentVariablePointer}
<div class="absolute top-0 left-0 w-full h-full"> {#key $ReloadGUIPointer}
{#await ParseMarkdown(risuChatParser((backgroundHTML || '') + ($moduleBackgroundEmbedding || ''), {chara:currentChar}), currentChar, 'back') then md} <div class="absolute top-0 left-0 w-full h-full">
{@html md} {#await ParseMarkdown(risuChatParser((backgroundHTML || '') + ($moduleBackgroundEmbedding || ''), {chara:currentChar}), currentChar, 'back') then md}
{/await} {@html md}
</div> {/await}
</div>
{/key}
{/key} {/key}
{/key} {/if}
{/if} {/if}