Skip to content

Commit

Permalink
fix(connector): fix connectLength1 default value getting (#5587)
Browse files Browse the repository at this point in the history
* fix(connector): fix connectLength1 default value getting

* fix: reverse test

---------

Co-authored-by: dongjingyi.djy <[email protected]>
  • Loading branch information
HoneyPecanPie and dongjingyi.djy authored Sep 22, 2023
1 parent 30450c3 commit 7e39af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shape/connector/connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const Connector: SC<ConnectorOptions> = (options, context) => {
points,
offset1,
offset2,
length1 || connectLength1,
length1 ?? connectLength1,
);
const makerStyle = subObject({ ...style, ...defaults }, 'endMarker');

Expand Down

0 comments on commit 7e39af9

Please sign in to comment.