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