[fix] fixed input lag, bugs
This commit is contained in:
@@ -711,10 +711,10 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<Button size="lg" onClick={async () => {
|
||||
<Button size="lg" on:click={async () => {
|
||||
exportChar($selectedCharID)
|
||||
}} className="mt-2">{language.exportCharacter}</Button>
|
||||
<Button size="lg" onClick={async () => {
|
||||
<Button size="lg" on:click={async () => {
|
||||
openHubUpload = true
|
||||
}} className="mt-2">{language.shareCloud}</Button>
|
||||
{#if openHubUpload}
|
||||
@@ -732,7 +732,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
<Button onClick={async () => {
|
||||
<Button on:click={async () => {
|
||||
const conf = await alertConfirm(language.removeConfirm + currentChar.data.name)
|
||||
if(!conf){
|
||||
return
|
||||
|
||||
@@ -554,25 +554,25 @@
|
||||
{/if}
|
||||
{:else if sideBarMode === 1}
|
||||
<Button
|
||||
onClick={createScratch}
|
||||
on:click={createScratch}
|
||||
className="mt-2"
|
||||
>
|
||||
{language.createfromScratch}
|
||||
</Button>
|
||||
<Button
|
||||
onClick={createImport}
|
||||
on:click={createImport}
|
||||
className="mt-2"
|
||||
>
|
||||
{language.importCharacter}
|
||||
</Button>
|
||||
<Button
|
||||
onClick={createGroup}
|
||||
on:click={createGroup}
|
||||
className="mt-2"
|
||||
>
|
||||
{language.createGroup}
|
||||
</Button>
|
||||
<Button
|
||||
onClick={BotCreator.createBotFromWeb}
|
||||
on:click={BotCreator.createBotFromWeb}
|
||||
className="mt-2"
|
||||
>
|
||||
{language.createBotInternet}
|
||||
|
||||
Reference in New Issue
Block a user