From 7f4940f54d511e3c2aed7b23991c26d302462702 Mon Sep 17 00:00:00 2001 From: islxyqwe Date: Fri, 29 Sep 2023 00:01:58 +0800 Subject: [PATCH] fix: remove console --- packages/graphic-walker/src/components/tabs/editableTab.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/graphic-walker/src/components/tabs/editableTab.tsx b/packages/graphic-walker/src/components/tabs/editableTab.tsx index 045e38e0..7c775387 100644 --- a/packages/graphic-walker/src/components/tabs/editableTab.tsx +++ b/packages/graphic-walker/src/components/tabs/editableTab.tsx @@ -38,7 +38,6 @@ const Slider = (props: { className?: string; children: React.ReactNode; safeDist e.stopPropagation(); const rect = ref.current?.children[0]?.getBoundingClientRect(); if (rect) { - console.log(rect); setX((x) => Math.min(rect.width - props.safeDistance, Math.max(0, x + e.deltaY))); } return false;