Added loading animation switch

This commit is contained in:
2025-09-21 22:17:41 +08:00
parent 3cda88371e
commit 0012a5dc19
8 changed files with 36 additions and 538 deletions

View File

@@ -47,7 +47,7 @@ onBeforeUnmount(() => {
<template>
<div class="editor-container">
<LoadingScreen v-if="editorStore.isLoading" text="VOIDRAFT" />
<LoadingScreen v-if="editorStore.isLoading && configStore.config.general?.enableLoadingAnimation" text="VOIDRAFT" />
<div ref="editorElement" class="editor"></div>
<Toolbar/>
</div>