From 807743bdd351b639e3328fa1ed6f128738f95b9f Mon Sep 17 00:00:00 2001 From: Stanley Yip Date: Sat, 4 Apr 2020 15:52:20 -0700 Subject: warning fixes --- src/client/util/InteractionUtils.tsx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/client/util/InteractionUtils.tsx') diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx index 2eec02a42..f2d569cf3 100644 --- a/src/client/util/InteractionUtils.tsx +++ b/src/client/util/InteractionUtils.tsx @@ -10,20 +10,6 @@ export namespace InteractionUtils { const REACT_POINTER_PEN_BUTTON = 0; const ERASER_BUTTON = 5; - export function CreatePolyline(points: { X: number, Y: number }[], left: number, top: number, color: string, width: number) { - const pts = points.reduce((acc: string, pt: { X: number, Y: number }) => acc + `${pt.X - left},${pt.Y - top} `, ""); - return ( - - ); - } - export class MultiTouchEvent { constructor( readonly fingers: number, -- cgit v1.2.3-70-g09d2