add setting diable/enable smart guide

This commit is contained in:
hamid zarghami
2026-05-11 10:11:01 +03:30
parent b9cde62566
commit f1cdd340a7
4 changed files with 29 additions and 0 deletions
+1
View File
@@ -189,6 +189,7 @@ export const useEditorStore = create<EditorStoreType>((set, get) => {
autoPlay: false,
pageFlipSound: true,
leftToRightFlip: false,
smartGuide: true,
backgroundType: 'color',
backgroundColor: '#ffffff',
backgroundGradient: {
@@ -97,6 +97,7 @@ export type DocumentSettings = {
autoPlay: boolean;
pageFlipSound: boolean;
leftToRightFlip: boolean;
smartGuide: boolean;
backgroundType: BackgroundType;
backgroundColor: string;
backgroundGradient?: LinearGradient;