Add show fog guides setting
This commit is contained in:
@@ -29,6 +29,7 @@ function SettingsModal({ isOpen, onRequestClose }) {
|
||||
const [gridSnappingSensitivity, setGridSnappingSensitivity] = useSetting(
|
||||
"map.gridSnappingSensitivity"
|
||||
);
|
||||
const [showFogGuides, setShowFogGuides] = useSetting("fog.showGuides");
|
||||
const [storageEstimate, setStorageEstimate] = useState();
|
||||
const [isImportExportModalOpen, setIsImportExportModalOpen] = useState(false);
|
||||
|
||||
@@ -103,6 +104,13 @@ function SettingsModal({ isOpen, onRequestClose }) {
|
||||
}
|
||||
/>
|
||||
</Label>
|
||||
<Label py={2}>
|
||||
<span style={{ marginRight: "4px" }}>Show fog guides</span>
|
||||
<Checkbox
|
||||
checked={showFogGuides}
|
||||
onChange={(e) => setShowFogGuides(e.target.checked)}
|
||||
/>
|
||||
</Label>
|
||||
<Label py={2}>
|
||||
Token Label Size
|
||||
<Slider
|
||||
|
||||
Reference in New Issue
Block a user