From eb619f8fde2462a2035de55173293188e10c6b79 Mon Sep 17 00:00:00 2001 From: dwelle <5153846+dwelle@users.noreply.github.com> Date: Mon, 5 May 2025 11:28:19 +0200 Subject: [PATCH] keep polygon icon constant --- .../excalidraw/actions/actionLinearEditor.tsx | 8 ++------ packages/excalidraw/components/icons.tsx | 18 +----------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/packages/excalidraw/actions/actionLinearEditor.tsx b/packages/excalidraw/actions/actionLinearEditor.tsx index a3cc2015f..df0038d46 100644 --- a/packages/excalidraw/actions/actionLinearEditor.tsx +++ b/packages/excalidraw/actions/actionLinearEditor.tsx @@ -13,11 +13,7 @@ import type { import { DEFAULT_CATEGORIES } from "../components/CommandPalette/CommandPalette"; import { ToolButton } from "../components/ToolButton"; -import { - lineEditorIcon, - LoopUnlockedIcon, - LoopLockedIcon, -} from "../components/icons"; +import { lineEditorIcon, polygonIcon } from "../components/icons"; import { t } from "../i18n"; import { CaptureUpdateAction } from "../store"; @@ -185,7 +181,7 @@ export const actionToggleLoopLock = register({ return ( - - - - - - - - - - - , - tablerIconProps, -); - -export const LoopUnlockedIcon = createIcon( +export const polygonIcon = createIcon(