From d3277a8ce3c6cb14c01a3a1ded141940f28009c7 Mon Sep 17 00:00:00 2001 From: dwelle <5153846+dwelle@users.noreply.github.com> Date: Sun, 6 Apr 2025 23:14:24 +0200 Subject: [PATCH] remove `lasso` from `hasStrokeColor` --- packages/element/src/comparisons.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/element/src/comparisons.ts b/packages/element/src/comparisons.ts index 433065d0c..75fac889d 100644 --- a/packages/element/src/comparisons.ts +++ b/packages/element/src/comparisons.ts @@ -10,10 +10,7 @@ export const hasBackground = (type: ElementOrToolType) => type === "freedraw"; export const hasStrokeColor = (type: ElementOrToolType) => - type !== "image" && - type !== "frame" && - type !== "magicframe" && - type !== "lasso"; + type !== "image" && type !== "frame" && type !== "magicframe"; export const hasStrokeWidth = (type: ElementOrToolType) => type === "rectangle" ||