From 9f37a78c47d9f10f0093330bb38dde7e203823ec Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Thu, 23 Dec 2021 00:18:23 +0100 Subject: [PATCH] Remove touch plugin --- src/components/Dialog/Curve.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Dialog/Curve.tsx b/src/components/Dialog/Curve.tsx index 0d5fcc1..95223f2 100644 --- a/src/components/Dialog/Curve.tsx +++ b/src/components/Dialog/Curve.tsx @@ -8,7 +8,6 @@ import { } from 'react'; import UplotReact from 'uplot-react'; import uPlot from 'uplot'; -import touchZoomPlugin from '../../utils/uPlot/touchZoomPlugin'; import { Colors } from '../../utils/colors'; import LandscapeNotice from './LandscapeNotice'; import Table from './Table'; @@ -86,7 +85,6 @@ const Curve = ({ drag: { y: false }, points: { size: 9 }, }, - plugins: [touchZoomPlugin()], }); }, [width, xData, xLabel, xUnits, yData, yLabel, yUnits]);