fix: remove draw
element from codebase (#3559)
This commit is contained in:
@ -180,7 +180,6 @@ const hitTestPointAgainstElement = (args: HitTestArgs): boolean => {
|
||||
}
|
||||
case "arrow":
|
||||
case "line":
|
||||
case "draw":
|
||||
return hitTestLinear(args);
|
||||
case "selection":
|
||||
console.warn(
|
||||
|
@ -114,7 +114,7 @@ export type Arrowhead = "arrow" | "bar" | "dot";
|
||||
|
||||
export type ExcalidrawLinearElement = _ExcalidrawElementBase &
|
||||
Readonly<{
|
||||
type: "line" | "draw" | "arrow";
|
||||
type: "line" | "arrow";
|
||||
points: readonly Point[];
|
||||
lastCommittedPoint: Point | null;
|
||||
startBinding: PointBinding | null;
|
||||
|
Reference in New Issue
Block a user