mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
remove lasso
from hasStrokeColor
This commit is contained in:
parent
a7668890fb
commit
d3277a8ce3
1 changed files with 1 additions and 4 deletions
|
@ -10,10 +10,7 @@ export const hasBackground = (type: ElementOrToolType) =>
|
||||||
type === "freedraw";
|
type === "freedraw";
|
||||||
|
|
||||||
export const hasStrokeColor = (type: ElementOrToolType) =>
|
export const hasStrokeColor = (type: ElementOrToolType) =>
|
||||||
type !== "image" &&
|
type !== "image" && type !== "frame" && type !== "magicframe";
|
||||||
type !== "frame" &&
|
|
||||||
type !== "magicframe" &&
|
|
||||||
type !== "lasso";
|
|
||||||
|
|
||||||
export const hasStrokeWidth = (type: ElementOrToolType) =>
|
export const hasStrokeWidth = (type: ElementOrToolType) =>
|
||||||
type === "rectangle" ||
|
type === "rectangle" ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue