docstring_tokens
stringlengths
18
16.9k
code_tokens
stringlengths
75
1.81M
html_url
stringlengths
74
116
file_name
stringlengths
3
311
keep keep replace replace keep keep keep keep replace replace replace replace keep keep keep keep
<mask> const ny = (y2 - y1) / distance; <mask> <mask> const size = 30; // pixels <mask> const arrowLength = element.points.reduce((total, [cx, cy], idx, points) => { <mask> const [px, py] = idx > 0 ? points[idx - 1] : [0, 0]; <mask> return total + Math.hypot(cx - px, cy - py); <mask> }, 0); <mask> <mask> // Scale down the arrow until we hit a certain size so that it doesn't look weird <mask> // This value is selected by minizing a minmum size with the whole length of the arrow <mask> // intead of last segment of the arrow <mask> const minSize = Math.min(size, arrowLength / 2); <mask> const xs = x2 - nx * minSize; <mask> const ys = y2 - ny * minSize; <mask> <mask> const angle = 20; // degrees </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove // find the normalized direction vector based on the // previously calculated points </s> add // Find the normalized direction vector based on the // previously calculated points. </s> add // Return points </s> remove // we know the last point of the arrow const [x2, y2] = p3; </s> add // Ee know the last point of the arrow (or the first, if start arrowhead). const [x2, y2] = position === "start" ? p0 : p3; </s> remove // the tested cases </s> add // the tested cases. </s> remove // we need to find p0 of the bezier curve // it is typically the last point of the previous // curve; it can also be the position of moveTo operation const prevOp = ops[ops.length - 2]; </s> add // We need to find p0 of the bezier curve. // It is typically the last point of the previous // curve; it can also be the position of moveTo operation. const prevOp = ops[index - 1];
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/bounds.ts
keep keep add keep keep keep keep
<mask> const ys = y2 - ny * minSize; <mask> <mask> const angle = 20; // degrees <mask> const [x3, y3] = rotate(xs, ys, x2, y2, (-angle * Math.PI) / 180); <mask> const [x4, y4] = rotate(xs, ys, x2, y2, (angle * Math.PI) / 180); <mask> return [x2, y2, x3, y3, x4, y4]; <mask> }; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove // Scale down the arrow until we hit a certain size so that it doesn't look weird // This value is selected by minizing a minmum size with the whole length of the arrow // intead of last segment of the arrow const minSize = Math.min(size, arrowLength / 2); </s> add // Scale down the arrowhead until we hit a certain size so that it doesn't look weird. // This value is selected by minimizing a minimum size with the whole length of the // arrowhead instead of last segment of the arrowhead. const minSize = Math.min(size, length / 2); </s> remove const arrowPoints = getArrowPoints(element, shape); if (arrowPoints) { const [x2, y2, x3, y3, x4, y4] = arrowPoints; // for dotted arrows caps, reduce gap to make it more legible </s> add const { startArrowhead = null, endArrowhead = "arrow" } = element; function getArrowheadShapes( element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead, ) { const arrowheadPoints = getArrowheadPoints( element, shape, position, arrowhead, ); if (arrowheadPoints === null) { return []; } // Other arrowheads here... // Arrow arrowheads const [x2, y2, x3, y3, x4, y4] = arrowheadPoints; </s> remove shape.push( ...[ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ], </s> add return [ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ]; } if (startArrowhead !== null) { const shapes = getArrowheadShapes( element, shape, "start", startArrowhead, ); shape.push(...shapes); } if (endArrowhead !== null) { if (endArrowhead === undefined) { // Hey, we have an old arrow here! } const shapes = getArrowheadShapes( element, shape, "end", endArrowhead, </s> add // for solid/dashed, keep solid arrow cap </s> add // for dotted arrows caps, reduce gap to make it more legible </s> remove const size = 30; // pixels const arrowLength = element.points.reduce((total, [cx, cy], idx, points) => { </s> add const size = 30; // pixels (will differ for each arrowhead) const length = element.points.reduce((total, [cx, cy], idx, points) => {
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/bounds.ts
keep keep keep keep replace keep keep keep keep keep
<mask> getElementAbsoluteCoords, <mask> getElementBounds, <mask> getCommonBounds, <mask> getDiamondPoints, <mask> getArrowPoints, <mask> getClosestElementBounds, <mask> } from "./bounds"; <mask> <mask> export { <mask> OMIT_SIDES_FOR_MULTIPLE_ELEMENTS, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove getArrowPoints, </s> add </s> add Arrowhead, </s> add getArrowheadPoints, </s> add canHaveArrowheads, </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> add Arrowhead,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/index.ts
keep keep add keep keep keep keep keep keep
<mask> FontFamily, <mask> GroupId, <mask> VerticalAlign, <mask> } from "../element/types"; <mask> import { measureText, getFontString } from "../utils"; <mask> import { randomInteger, randomId } from "../random"; <mask> import { newElementWith } from "./mutateElement"; <mask> import { getNewGroupIdsForDuplication } from "../groups"; <mask> import { AppState } from "../types"; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove import { ExcalidrawElement, ExcalidrawLinearElement } from "./types"; </s> add import { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead } from "./types"; </s> remove getArrowPoints, </s> add </s> add Arrowhead, </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> add getArrowheadPoints, </s> add canHaveArrowheads,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/newElement.ts
keep add keep keep keep keep keep
<mask> opts: { <mask> type: ExcalidrawLinearElement["type"]; <mask> } & ElementConstructorOpts, <mask> ): NonDeleted<ExcalidrawLinearElement> => { <mask> return { <mask> ..._newElementBase<ExcalidrawLinearElement>(opts.type, opts), <mask> points: [], </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add const { startArrowhead = null, endArrowhead = element.type === "arrow" ? "arrow" : null, } = element; </s> remove type: "arrow" | "line" | "draw"; </s> add type: "line" | "draw" | "arrow"; </s> add export type Arrowhead = "arrow"; </s> add position: "start" | "end", arrowhead: Arrowhead, </s> remove actions: { [actionName in ActionName]: Action; }; </s> add actions: Record<ActionName, Action>; </s> add startArrowhead: null, endArrowhead: null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/newElement.ts
keep keep add keep keep keep keep keep
<mask> lastCommittedPoint: null, <mask> startBinding: null, <mask> endBinding: null, <mask> }; <mask> }; <mask> <mask> // Simplified deep clone for the purpose of cloning ExcalidrawElement only <mask> // (doesn't clone Date, RegExp, Map, Set, Typed arrays etc.) </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove type: "arrow" | "line" | "draw"; </s> add type: "line" | "draw" | "arrow"; </s> remove // by using cubic bezier equation (B(t)) and the given parameters, // we calculate a point that is closer to the last point </s> add // By using cubic bezier equation (B(t)) and the given parameters, // we calculate a point that is closer to the last point. </s> add startArrowhead, endArrowhead, </s> remove // the tested cases </s> add // the tested cases. </s> remove // we know the last point of the arrow const [x2, y2] = p3; </s> add // Ee know the last point of the arrow (or the first, if start arrowhead). const [x2, y2] = position === "start" ? p0 : p3; </s> add export type Arrowhead = "arrow";
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/newElement.ts
keep add keep keep keep keep keep keep
<mask> }; <mask> <mask> export type ExcalidrawLinearElement = _ExcalidrawElementBase & <mask> Readonly<{ <mask> type: "line" | "draw" | "arrow"; <mask> points: readonly Point[]; <mask> lastCommittedPoint: Point | null; <mask> startBinding: PointBinding | null; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove type: "arrow" | "line" | "draw"; </s> add type: "line" | "draw" | "arrow"; </s> add startArrowhead: Arrowhead | null; endArrowhead: Arrowhead | null; </s> add startArrowhead: Arrowhead | null; endArrowhead: Arrowhead | null; </s> add startArrowhead: null, endArrowhead: null, </s> add currentItemArrowheads: { start: Arrowhead | null; end: Arrowhead | null; }; </s> add | "changeArrowhead"
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/types.ts
keep keep keep keep replace keep keep keep keep keep
<mask> }; <mask> <mask> export type ExcalidrawLinearElement = _ExcalidrawElementBase & <mask> Readonly<{ <mask> type: "arrow" | "line" | "draw"; <mask> points: readonly Point[]; <mask> lastCommittedPoint: Point | null; <mask> startBinding: PointBinding | null; <mask> endBinding: PointBinding | null; <mask> }>; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add export type Arrowhead = "arrow"; </s> add startArrowhead: Arrowhead | null; endArrowhead: Arrowhead | null; </s> add startArrowhead: Arrowhead | null; endArrowhead: Arrowhead | null; </s> add startArrowhead: null, endArrowhead: null, </s> add currentItemArrowheads: { start: Arrowhead | null; end: Arrowhead | null; }; </s> add | "changeArrowhead"
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/types.ts
keep add keep keep keep keep
<mask> startBinding: PointBinding | null; <mask> endBinding: PointBinding | null; <mask> }>; <mask> <mask> export type PointerType = "mouse" | "pen" | "touch"; <mask> </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove type: "arrow" | "line" | "draw"; </s> add type: "line" | "draw" | "arrow"; </s> add export type Arrowhead = "arrow"; </s> add startArrowhead: Arrowhead | null; endArrowhead: Arrowhead | null; </s> add currentItemArrowheads: { start: Arrowhead | null; end: Arrowhead | null; }; </s> add | "changeArrowhead" </s> add startArrowhead: null, endArrowhead: null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/element/types.ts
keep keep add keep keep keep keep keep
<mask> "edges": "Edges", <mask> "sharp": "Sharp", <mask> "round": "Round", <mask> "fontSize": "Font size", <mask> "fontFamily": "Font family", <mask> "onlySelected": "Only selected", <mask> "withBackground": "With Background", <mask> "exportEmbedScene": "Embed scene into exported file", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "startArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/locales/en.json
keep add keep keep keep keep keep keep
<mask> import { <mask> ExcalidrawElement, <mask> ExcalidrawTextElement, <mask> Arrowhead, <mask> NonDeletedExcalidrawElement, <mask> } from "../element/types"; <mask> import { isTextElement, isLinearElement } from "../element/typeChecks"; <mask> import { </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add Arrowhead, </s> remove getArrowPoints, </s> add </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> remove import { ExcalidrawElement, ExcalidrawLinearElement } from "./types"; </s> add import { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead } from "./types"; </s> add Arrowhead, </s> add Arrowhead,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep keep add keep keep keep keep keep keep
<mask> import { <mask> ExcalidrawElement, <mask> ExcalidrawLinearElement, <mask> ExcalidrawTextElement, <mask> NonDeletedExcalidrawElement, <mask> } from "../element/types"; <mask> import { isTextElement, isLinearElement } from "../element/typeChecks"; <mask> import { <mask> getDiamondPoints, <mask> getElementAbsoluteCoords, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add ExcalidrawLinearElement, </s> remove getArrowPoints, </s> add </s> remove import { ExcalidrawElement, ExcalidrawLinearElement } from "./types"; </s> add import { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead } from "./types"; </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> add getArrowheadPoints, </s> add Arrowhead,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep keep keep replace keep keep keep keep keep
<mask> } from "../element/types"; <mask> import { isTextElement, isLinearElement } from "../element/typeChecks"; <mask> import { <mask> getDiamondPoints, <mask> getArrowPoints, <mask> getElementAbsoluteCoords, <mask> } from "../element/bounds"; <mask> import { RoughCanvas } from "roughjs/bin/canvas"; <mask> import { Drawable, Options } from "roughjs/bin/core"; <mask> import { RoughSVG } from "roughjs/bin/svg"; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add getArrowheadPoints, </s> add Arrowhead, </s> add ExcalidrawLinearElement, </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> remove import { ExcalidrawElement, ExcalidrawLinearElement } from "./types"; </s> add import { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead } from "./types"; </s> add Arrowhead,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep add keep keep keep keep keep keep
<mask> getDiamondPoints, <mask> getElementAbsoluteCoords, <mask> } from "../element/bounds"; <mask> import { RoughCanvas } from "roughjs/bin/canvas"; <mask> import { Drawable, Options } from "roughjs/bin/core"; <mask> import { RoughSVG } from "roughjs/bin/svg"; <mask> import { RoughGenerator } from "roughjs/bin/generator"; <mask> import { SceneState } from "../scene/types"; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove getArrowPoints, </s> add </s> remove import { ExcalidrawElement, ExcalidrawLinearElement } from "./types"; </s> add import { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead } from "./types"; </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> add Arrowhead, </s> add canHaveArrowheads, </s> add Arrowhead,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep keep keep replace replace replace replace keep keep keep keep keep
<mask> } <mask> <mask> // add lines only in arrow <mask> if (element.type === "arrow") { <mask> const arrowPoints = getArrowPoints(element, shape); <mask> if (arrowPoints) { <mask> const [x2, y2, x3, y3, x4, y4] = arrowPoints; <mask> // for dotted arrows caps, reduce gap to make it more legible <mask> if (element.strokeStyle === "dotted") { <mask> options.strokeLineDash = [3, 4]; <mask> // for solid/dashed, keep solid arrow cap <mask> } else { <mask> delete options.strokeLineDash; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove // for solid/dashed, keep solid arrow cap </s> add </s> add // for dotted arrows caps, reduce gap to make it more legible </s> add // for solid/dashed, keep solid arrow cap </s> remove shape.push( ...[ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ], </s> add return [ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ]; } if (startArrowhead !== null) { const shapes = getArrowheadShapes( element, shape, "start", startArrowhead, ); shape.push(...shapes); } if (endArrowhead !== null) { if (endArrowhead === undefined) { // Hey, we have an old arrow here! } const shapes = getArrowheadShapes( element, shape, "end", endArrowhead, </s> remove // we need to find p0 of the bezier curve // it is typically the last point of the previous // curve; it can also be the position of moveTo operation const prevOp = ops[ops.length - 2]; </s> add // We need to find p0 of the bezier curve. // It is typically the last point of the previous // curve; it can also be the position of moveTo operation. const prevOp = ops[index - 1]; </s> add // Return points
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep keep add keep keep keep keep
<mask> <mask> // Arrow arrowheads <mask> const [x2, y2, x3, y3, x4, y4] = arrowheadPoints; <mask> if (element.strokeStyle === "dotted") { <mask> options.strokeLineDash = [3, 4]; <mask> } else { <mask> // for solid/dashed, keep solid arrow cap <mask> delete options.strokeLineDash; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove // for solid/dashed, keep solid arrow cap </s> add </s> remove const arrowPoints = getArrowPoints(element, shape); if (arrowPoints) { const [x2, y2, x3, y3, x4, y4] = arrowPoints; // for dotted arrows caps, reduce gap to make it more legible </s> add const { startArrowhead = null, endArrowhead = "arrow" } = element; function getArrowheadShapes( element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead, ) { const arrowheadPoints = getArrowheadPoints( element, shape, position, arrowhead, ); if (arrowheadPoints === null) { return []; } // Other arrowheads here... // Arrow arrowheads const [x2, y2, x3, y3, x4, y4] = arrowheadPoints; </s> add // for solid/dashed, keep solid arrow cap </s> remove shape.push( ...[ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ], </s> add return [ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ]; } if (startArrowhead !== null) { const shapes = getArrowheadShapes( element, shape, "start", startArrowhead, ); shape.push(...shapes); } if (endArrowhead !== null) { if (endArrowhead === undefined) { // Hey, we have an old arrow here! } const shapes = getArrowheadShapes( element, shape, "end", endArrowhead, </s> add // Return points </s> remove // we need to find p0 of the bezier curve // it is typically the last point of the previous // curve; it can also be the position of moveTo operation const prevOp = ops[ops.length - 2]; </s> add // We need to find p0 of the bezier curve. // It is typically the last point of the previous // curve; it can also be the position of moveTo operation. const prevOp = ops[index - 1];
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep keep keep replace keep keep keep keep keep
<mask> const [x2, y2, x3, y3, x4, y4] = arrowPoints; <mask> // for dotted arrows caps, reduce gap to make it more legible <mask> if (element.strokeStyle === "dotted") { <mask> options.strokeLineDash = [3, 4]; <mask> // for solid/dashed, keep solid arrow cap <mask> } else { <mask> delete options.strokeLineDash; <mask> } <mask> shape.push( <mask> ...[ </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add // for dotted arrows caps, reduce gap to make it more legible </s> remove const arrowPoints = getArrowPoints(element, shape); if (arrowPoints) { const [x2, y2, x3, y3, x4, y4] = arrowPoints; // for dotted arrows caps, reduce gap to make it more legible </s> add const { startArrowhead = null, endArrowhead = "arrow" } = element; function getArrowheadShapes( element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead, ) { const arrowheadPoints = getArrowheadPoints( element, shape, position, arrowhead, ); if (arrowheadPoints === null) { return []; } // Other arrowheads here... // Arrow arrowheads const [x2, y2, x3, y3, x4, y4] = arrowheadPoints; </s> add // for solid/dashed, keep solid arrow cap </s> remove shape.push( ...[ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ], </s> add return [ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ]; } if (startArrowhead !== null) { const shapes = getArrowheadShapes( element, shape, "start", startArrowhead, ); shape.push(...shapes); } if (endArrowhead !== null) { if (endArrowhead === undefined) { // Hey, we have an old arrow here! } const shapes = getArrowheadShapes( element, shape, "end", endArrowhead, </s> add // Return points </s> add // If arrow is pre-arrowheads, it will have undefined for both start and end arrowheads. // If so, we want it to be null/"arrow". If the linear item is not an arrow, we want it // to be null/null. Otherwise, we want it to use the currentItemArrowheads values. const { start, end } = this.state.currentItemArrowheads; const [startArrowhead, endArrowhead] = elementType === "arrow" ? [start, end] : [null, null];
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep add keep keep keep keep keep keep
<mask> options.strokeLineDash = [3, 4]; <mask> } else { <mask> delete options.strokeLineDash; <mask> } <mask> return [ <mask> generator.line(x3, y3, x2, y2, options), <mask> generator.line(x4, y4, x2, y2, options), <mask> ]; </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove shape.push( ...[ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ], </s> add return [ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ]; } if (startArrowhead !== null) { const shapes = getArrowheadShapes( element, shape, "start", startArrowhead, ); shape.push(...shapes); } if (endArrowhead !== null) { if (endArrowhead === undefined) { // Hey, we have an old arrow here! } const shapes = getArrowheadShapes( element, shape, "end", endArrowhead, </s> remove // for solid/dashed, keep solid arrow cap </s> add </s> add // for dotted arrows caps, reduce gap to make it more legible </s> remove const arrowPoints = getArrowPoints(element, shape); if (arrowPoints) { const [x2, y2, x3, y3, x4, y4] = arrowPoints; // for dotted arrows caps, reduce gap to make it more legible </s> add const { startArrowhead = null, endArrowhead = "arrow" } = element; function getArrowheadShapes( element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead, ) { const arrowheadPoints = getArrowheadPoints( element, shape, position, arrowhead, ); if (arrowheadPoints === null) { return []; } // Other arrowheads here... // Arrow arrowheads const [x2, y2, x3, y3, x4, y4] = arrowheadPoints; </s> add // Return points </s> add const { startArrowhead = null, endArrowhead = element.type === "arrow" ? "arrow" : null, } = element;
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
<mask> // for solid/dashed, keep solid arrow cap <mask> } else { <mask> delete options.strokeLineDash; <mask> } <mask> shape.push( <mask> ...[ <mask> generator.line(x3, y3, x2, y2, options), <mask> generator.line(x4, y4, x2, y2, options), <mask> ], <mask> ); <mask> } <mask> } <mask> break; <mask> } </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add // for solid/dashed, keep solid arrow cap </s> remove // for solid/dashed, keep solid arrow cap </s> add </s> add // for dotted arrows caps, reduce gap to make it more legible </s> remove const arrowPoints = getArrowPoints(element, shape); if (arrowPoints) { const [x2, y2, x3, y3, x4, y4] = arrowPoints; // for dotted arrows caps, reduce gap to make it more legible </s> add const { startArrowhead = null, endArrowhead = "arrow" } = element; function getArrowheadShapes( element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead, ) { const arrowheadPoints = getArrowheadPoints( element, shape, position, arrowhead, ); if (arrowheadPoints === null) { return []; } // Other arrowheads here... // Arrow arrowheads const [x2, y2, x3, y3, x4, y4] = arrowheadPoints; </s> add shape.push(...shapes); </s> add // Return points
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep add keep keep keep keep
<mask> "end", <mask> endArrowhead, <mask> ); <mask> } <mask> } <mask> break; <mask> } </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove shape.push( ...[ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ], </s> add return [ generator.line(x3, y3, x2, y2, options), generator.line(x4, y4, x2, y2, options), ]; } if (startArrowhead !== null) { const shapes = getArrowheadShapes( element, shape, "start", startArrowhead, ); shape.push(...shapes); } if (endArrowhead !== null) { if (endArrowhead === undefined) { // Hey, we have an old arrow here! } const shapes = getArrowheadShapes( element, shape, "end", endArrowhead, </s> add startArrowhead, endArrowhead, </s> add startArrowhead: null, endArrowhead: null, </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> remove getArrowPoints, </s> add </s> add getArrowheadPoints,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/renderer/renderElement.ts
keep keep add keep keep keep keep keep keep
<mask> <mask> export const hasText = (type: string) => type === "text"; <mask> <mask> export const getElementAtPosition = ( <mask> elements: readonly NonDeletedExcalidrawElement[], <mask> isAtPositionFn: (element: NonDeletedExcalidrawElement) => boolean, <mask> ) => { <mask> let hitElement = null; <mask> // We need to to hit testing from front (end of the array) to back (beginning of the array) </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> remove // we need to find p0 of the bezier curve // it is typically the last point of the previous // curve; it can also be the position of moveTo operation const prevOp = ops[ops.length - 2]; </s> add // We need to find p0 of the bezier curve. // It is typically the last point of the previous // curve; it can also be the position of moveTo operation. const prevOp = ops[index - 1]; </s> remove const data = ops[ops.length - 1].data; </s> add // The index of the bCurve operation to examine. const index = position === "start" ? 1 : ops.length - 1; const data = ops[index].data; </s> remove export const getArrowPoints = ( </s> add export const getArrowheadPoints = ( </s> remove // by using cubic bezier equation (B(t)) and the given parameters, // we calculate a point that is closer to the last point </s> add // By using cubic bezier equation (B(t)) and the given parameters, // we calculate a point that is closer to the last point. </s> remove // Scale down the arrow until we hit a certain size so that it doesn't look weird // This value is selected by minizing a minmum size with the whole length of the arrow // intead of last segment of the arrow const minSize = Math.min(size, arrowLength / 2); </s> add // Scale down the arrowhead until we hit a certain size so that it doesn't look weird. // This value is selected by minimizing a minimum size with the whole length of the // arrowhead instead of last segment of the arrowhead. const minSize = Math.min(size, length / 2); </s> add // If arrow is pre-arrowheads, it will have undefined for both start and end arrowheads. // If so, we want it to be null/"arrow". If the linear item is not an arrow, we want it // to be null/null. Otherwise, we want it to use the currentItemArrowheads values. const { start, end } = this.state.currentItemArrowheads; const [startArrowhead, endArrowhead] = elementType === "arrow" ? [start, end] : [null, null];
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/scene/comparisons.ts
keep keep keep add keep keep keep keep keep
<mask> export { normalizeScroll, calculateScrollCenter } from "./scroll"; <mask> export { <mask> hasBackground, <mask> hasStroke, <mask> canChangeSharpness, <mask> getElementAtPosition, <mask> getElementContainingPosition, <mask> hasText, <mask> getElementsAtPosition, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add canHaveArrowheads, </s> add canHaveArrowheads, </s> remove getArrowPoints, </s> add getArrowheadPoints, </s> add ExcalidrawLinearElement, Arrowhead, </s> add import { ButtonIconCycle } from "../components/ButtonIconCycle"; </s> add getArrowheadPoints,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/scene/index.ts
keep add keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 50, <mask> "id": "id0", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/dragCreate.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 337897, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/dragCreate.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> Object { <mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 50, <mask> "id": "id0", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/dragCreate.test.tsx.snap
keep keep keep add keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 337897, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/dragCreate.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": Object { <mask> "elementId": "id1", <mask> "focus": -0.46666666666666673, <mask> "gap": 10, <mask> }, <mask> "fillStyle": "hachure", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/move.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 401146281, <mask> "startBinding": Object { <mask> "elementId": "id0", <mask> "focus": -0.6000000000000001, <mask> "gap": 10, <mask> }, <mask> "strokeColor": "#000000", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/move.test.tsx.snap
keep add keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 110, <mask> "id": "id0", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow",
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/multiPointCreate.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 337897, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/multiPointCreate.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 110, <mask> "id": "id0", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/multiPointCreate.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 337897, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "line", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/multiPointCreate.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> exports[`given element A and group of elements B and given both are selected when user shift-clicks on B, on pointer up only element A should be selected: [end of test] appState 1`] = ` <mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep
<mask> exports[`regression tests Cmd/Ctrl-click exclusively select element under pointer: [end of test] appState 1`] = ` <mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep
<mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "#fa5252", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep
<mask> exports[`regression tests click on an element and drag it: [dragged] appState 1`] = ` <mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> exports[`regression tests click to select a shape: [end of test] appState 1`] = ` <mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep
<mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep
<mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> exports[`regression tests deselects selected element on pointer down when pointer doesn't hit any element: [end of test] appState 1`] = ` <mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", <mask> "currentItemOpacity": 100, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep
<mask> exports[`regression tests drags selected elements from point inside common bounding box that doesn't hit any element and keeps elements selected after dragging: [end of test] appState 1`] = ` <mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, }, </s> add "currentItemArrowheads": Object { "end": "arrow", "start": null, },
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> Object { <mask> "appearance": "light", <mask> "collaborators": Map {}, <mask> "currentItemBackgroundColor": "transparent", <mask> "currentItemFillStyle": "hachure", <mask> "currentItemFontFamily": 1, <mask> "currentItemFontSize": 20, <mask> "currentItemLinearStrokeSharpness": "round", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id3", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep
<mask> Object { <mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 238820263, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 20, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow",
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 1505387817, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 20, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow",
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 760410951, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id7", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 941653321, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "draw", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id3", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id3", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 238820263, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "line", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id3", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep
<mask> Object { <mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 238820263, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 1505387817, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id3", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id4", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 238820263, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 20, <mask> "id": "id5", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow",
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 1505387817, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 238820263, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "line", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep
<mask> Object { <mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 20, <mask> "id": "id5", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow",
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 1505387817, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "arrow", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id6", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 760410951, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> Object { <mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id3", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep
<mask> ], <mask> ], <mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep keep add keep keep keep keep keep keep
<mask> Object { <mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id4", <mask> "isDeleted": false, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 238820263, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 20, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 1505387817, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep keep
<mask> "angle": 0, <mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 20, <mask> "id": "id6", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow",
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep keep add keep keep keep keep
<mask> ], <mask> "roughness": 1, <mask> "seed": 760410951, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]>
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 1150084233, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep
<mask> "backgroundColor": "transparent", <mask> "boundElementIds": null, <mask> "endBinding": null, <mask> "fillStyle": "hachure", <mask> "groupIds": Array [], <mask> "height": 10, <mask> "id": "id4", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "endArrowhead": null, </s> add "endArrowhead": null, </s> add "endArrowhead": "arrow", </s> add "endArrowhead": "arrow", </s> add "endArrowhead": null, </s> add "endArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap
keep add keep keep keep keep keep keep
<mask> "roughness": 1, <mask> "seed": 238820263, <mask> "startBinding": null, <mask> "strokeColor": "#000000", <mask> "strokeSharpness": "round", <mask> "strokeStyle": "solid", <mask> "strokeWidth": 1, <mask> "type": "line", </s> Add Arrowheads to Arrows (#2452) Co-authored-by: dwelle <[email protected]> Co-authored-by: Lipis <[email protected]> </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null, </s> add "startArrowhead": null,
https://github.com/excalidraw/excalidraw/commit/c291edfc443231053ad02f755de5d8493ab9c945
src/tests/__snapshots__/regressionTests.test.tsx.snap