summaryrefslogtreecommitdiff
path: root/components/Tweaks/BehaviorPanel.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-08 23:39:37 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-08 23:39:37 +0200
commit2384b30a244c7d6477e54de5385fe7f1cc62d43a (patch)
tree55c9f82f9475249a7f91ac44e408e04e9f1c9560 /components/Tweaks/BehaviorPanel.tsx
parentfd4edbd6a854275c10c5b21173f0875921d547d1 (diff)
feat(preview): proper file preview with api routing
Diffstat (limited to 'components/Tweaks/BehaviorPanel.tsx')
-rw-r--r--components/Tweaks/BehaviorPanel.tsx16
1 files changed, 0 insertions, 16 deletions
diff --git a/components/Tweaks/BehaviorPanel.tsx b/components/Tweaks/BehaviorPanel.tsx
index 27906c5..651396d 100644
--- a/components/Tweaks/BehaviorPanel.tsx
+++ b/components/Tweaks/BehaviorPanel.tsx
@@ -17,8 +17,6 @@ import { initialBehavior, initialMouse } from '../config'
import { InfoTooltip } from './InfoTooltip'
import { SliderWithInfo } from './SliderWithInfo'
-import { checkFileSystemCompatibility } from '../../util/checkFileSystemCompatibility'
-
export interface BehaviorPanelProps {
behavior: typeof initialBehavior
setBehavior: any
@@ -166,20 +164,6 @@ export const BehaviorPanel = (props: BehaviorPanelProps) => {
onChange={(value) => setBehavior({ ...behavior, zoomPadding: value })}
infoText="How much to zoom out to accomodate all nodes when changing the view."
/>
-
- <Box>
- <Button width="100%" isDisabled={!checkFileSystemCompatibility()}>
- Grant Filesystem Access
- </Button>
- {!checkFileSystemCompatibility() && (
- <Box bg="gray.600" width="100%" padding={5}>
- <Text>
- You are not using a browser compatible with the FileSystem Access API. Only Chromium
- based browsers are currently supported.
- </Text>
- </Box>
- )}
- </Box>
</VStack>
)
}