[fix] bugs
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<BackgroundDom />
|
||||
<div style={bgImg} class="h-full w-full" class:max-w-6xl={$DataBase.classicMaxWidth}>
|
||||
{#if $selectedCharID >= 0}
|
||||
{#if $CurrentCharacter.viewScreen !== 'none'}
|
||||
{#if $CurrentCharacter.viewScreen !== 'none' && ($CurrentCharacter.type === 'group' || (!$CurrentCharacter.inlayViewScreen))}
|
||||
<ResizeBox />
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -116,6 +116,14 @@ export async function generateAIImage(genPrompt:string, currentChar:character, n
|
||||
let reqlist= {}
|
||||
|
||||
if(db.NAII2I){
|
||||
genPrompt = genPrompt
|
||||
.replaceAll('\\(', "♧")
|
||||
.replaceAll('\\)', "♤")
|
||||
.replaceAll('(','{')
|
||||
.replaceAll(')','}')
|
||||
.replaceAll('♧','(')
|
||||
.replaceAll('♤',')')
|
||||
|
||||
let base64img = ''
|
||||
if(db.NAIImgConfig.image === ''){
|
||||
const charimg = currentChar.image;
|
||||
|
||||
Reference in New Issue
Block a user