add setting diable/enable smart guide
This commit is contained in:
@@ -55,6 +55,7 @@ const SettingsPanel = () => {
|
||||
displayStyle,
|
||||
autoPlay,
|
||||
pageFlipSound,
|
||||
smartGuide,
|
||||
// leftToRightFlip,
|
||||
} = documentSettings
|
||||
|
||||
@@ -142,6 +143,19 @@ const SettingsPanel = () => {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="p-4 border-b border-border">
|
||||
<div className="flex items-center gap-2 mb-4">
|
||||
<h3 className="text-sm font-semibold text-gray-800">تنظیمات ویرایشگر</h3>
|
||||
</div>
|
||||
<div className="flex flex-col gap-3">
|
||||
<CheckboxRow
|
||||
label="راهنمای هوشمند"
|
||||
checked={smartGuide}
|
||||
onChange={(v) => updateDocumentSettings({ smartGuide: v })}
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ─── پس زمینه ─── */}
|
||||
<section className="p-4">
|
||||
<h3 className="text-sm font-semibold text-gray-800 mb-4">پس زمینه</h3>
|
||||
|
||||
Reference in New Issue
Block a user