mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-14 17:54:47 +01:00
chore: bump Prettier to the latest (#4185)
This commit is contained in:
@@ -398,16 +398,8 @@ const generateElementShape = (
|
||||
}
|
||||
break;
|
||||
case "diamond": {
|
||||
const [
|
||||
topX,
|
||||
topY,
|
||||
rightX,
|
||||
rightY,
|
||||
bottomX,
|
||||
bottomY,
|
||||
leftX,
|
||||
leftY,
|
||||
] = getDiamondPoints(element);
|
||||
const [topX, topY, rightX, rightY, bottomX, bottomY, leftX, leftY] =
|
||||
getDiamondPoints(element);
|
||||
shape = generator.polygon(
|
||||
[
|
||||
[topX, topY],
|
||||
|
||||
Reference in New Issue
Block a user