From a22f311babf2c3b01230b3b96746d9b4a9384147 Mon Sep 17 00:00:00 2001 From: Ryan Di Date: Mon, 4 Aug 2025 19:11:12 +1000 Subject: [PATCH] use same selection icon --- packages/excalidraw/components/Actions.tsx | 4 ++-- packages/excalidraw/components/icons.tsx | 22 ---------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/packages/excalidraw/components/Actions.tsx b/packages/excalidraw/components/Actions.tsx index c4d8700482..9d0c5e7434 100644 --- a/packages/excalidraw/components/Actions.tsx +++ b/packages/excalidraw/components/Actions.tsx @@ -63,7 +63,7 @@ import { laserPointerToolIcon, MagicIcon, LassoIcon, - LassoIconMobile, + SelectionIcon, } from "./icons"; import type { AppClassProperties, AppProps, UIAppState, Zoom } from "../types"; @@ -309,7 +309,7 @@ export const ShapesSwitcher = ({ ? ([ { value: "lasso", - icon: LassoIconMobile, + icon: SelectionIcon, key: KEYS.L, numericKey: KEYS["1"], fillable: true, diff --git a/packages/excalidraw/components/icons.tsx b/packages/excalidraw/components/icons.tsx index 6cdedb215a..29bdc6d3c7 100644 --- a/packages/excalidraw/components/icons.tsx +++ b/packages/excalidraw/components/icons.tsx @@ -314,28 +314,6 @@ export const LassoIcon = createIcon( { fill: "none", width: 22, height: 22, strokeWidth: 1.25 }, ); -export const LassoIconMobile = createIcon( - - - , - { - width: 24, - height: 24, - strokeWidth: 1.5, - }, -); - // tabler-icons: square export const RectangleIcon = createIcon(