From 24e47ae240247ab95d7a3c7f296f6bbfa6c4780b Mon Sep 17 00:00:00 2001 From: Eric NGUYEN Date: Mon, 10 Oct 2022 11:04:26 +0200 Subject: [PATCH] Remove useless var --- src/Components/Canvas/Selector.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Components/Canvas/Selector.ts b/src/Components/Canvas/Selector.ts index 81d86c1..51ede29 100644 --- a/src/Components/Canvas/Selector.ts +++ b/src/Components/Canvas/Selector.ts @@ -30,16 +30,6 @@ export function RenderSelector(ctx: CanvasRenderingContext2D, frameCount: number const xText = x + width / 2; const yText = y + height / 2; - const style: React.CSSProperties = { - stroke: '#3B82F6', - strokeWidth: 4 / scale, - fillOpacity: 0, - transitionProperty: 'all', - transitionTimingFunction: 'cubic-bezier(0.4, 0, 0.2, 1)', - transitionDuration: '150ms', - animation: 'fadein 750ms ease-in alternate infinite' - }; - ctx.strokeStyle = '#3B82F6'; ctx.lineWidth = 4 / scale; ctx.globalAlpha = 0.25 * (Math.sin(frameCount * 0.0125) ** 2);