mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
feat: debounce creator + general improvements
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
handleImageVariableChange,
|
||||
handleCoverImageUpload
|
||||
} from '../utils/themeImageHandlers';
|
||||
import { CloseThemeCreator } from '@/seqta/ui/ThemeCreator'
|
||||
import { CloseThemeCreator } from '@/plugins/built-in/themes/ThemeCreator'
|
||||
import { themeUpdates } from '../hooks/ThemeUpdates'
|
||||
import { ThemeManager } from '@/plugins/built-in/themes/theme-manager'
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
$effect(() => {
|
||||
if (themeLoaded) {
|
||||
void themeManager.updatePreview(theme);
|
||||
void themeManager.updatePreviewDebounced(theme);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user