From 7a466db2a3732bf63c6a9ac1c550e8539580554a Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 13 Sep 2021 15:36:03 +0200 Subject: feat: node scale oom invariance --- components/tweaks.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'components/tweaks.tsx') diff --git a/components/tweaks.tsx b/components/tweaks.tsx index e03cea5..f03339b 100644 --- a/components/tweaks.tsx +++ b/components/tweaks.tsx @@ -761,6 +761,19 @@ export const Tweaks = (props: TweakProps) => { max={2} onChange={(value) => setVisuals({ ...visuals, nodeSizeLinks: value })} /> + + setVisuals((prev: typeof initialVisuals) => ({ + ...prev, + nodeZoomSize: value, + })) + } + /> {threeDim && ( <>