mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Non-rounded diamond highlight
This commit is contained in:
parent
41afafcce6
commit
2a71add05c
1 changed files with 2 additions and 2 deletions
|
@ -317,9 +317,9 @@ const strokeDiamondWithRotation = (
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
context.moveTo(topX, topY);
|
context.moveTo(topX, topY);
|
||||||
context.lineTo(rightX, rightY);
|
|
||||||
context.lineTo(bottomX, bottomY);
|
|
||||||
context.lineTo(leftX, leftY);
|
context.lineTo(leftX, leftY);
|
||||||
|
context.lineTo(bottomX, bottomY);
|
||||||
|
context.lineTo(rightX, rightY);
|
||||||
}
|
}
|
||||||
|
|
||||||
context.closePath();
|
context.closePath();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue