From b0ddf286f087b31dc75626f709cfce3889de25dd Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 4 Oct 2021 15:34:56 +0200 Subject: feat(preview): changed text-retrieval to http --- components/Tweaks/BehaviorPanel.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'components/Tweaks') diff --git a/components/Tweaks/BehaviorPanel.tsx b/components/Tweaks/BehaviorPanel.tsx index 8edb986..0c22e1a 100644 --- a/components/Tweaks/BehaviorPanel.tsx +++ b/components/Tweaks/BehaviorPanel.tsx @@ -33,6 +33,26 @@ export const BehaviorPanel = (props: BehaviorPanelProps) => { paddingLeft={7} color="gray.800" > + + Preview node + + } colorScheme="" color="black"> + + {mouse.preview ? mouse.preview[0]!.toUpperCase() + mouse.preview!.slice(1) : 'Never'} + + + + {' '} + + setMouse({ ...mouse, preview: '' })}>Never + setMouse({ ...mouse, preview: 'click' })}>Click + setMouse({ ...mouse, preview: 'double' })}> + Double Click + + + + + Expand Node -- cgit v1.2.3