Skip to content

Commit

Permalink
Merge branch 'main' into image_compression
Browse files Browse the repository at this point in the history
  • Loading branch information
origamifreak2 committed May 5, 2023
2 parents 72a3cfb + cb16e3c commit 99dd2a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ on:
pull_request_target:
types: [opened,closed,synchronize]

permissions:
actions: write
contents: write
pull-requests: write
statuses: write

jobs:
CLAssistant:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
# Beta Release
uses: cla-assistant/[email protected]
uses: cla-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
Expand Down
3 changes: 2 additions & 1 deletion packages/replicad/src/lib2d/offset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ export const make2dOffset = (

// We need a better way to handle curves that self intersect, for now we
// replace them with a line
if (selfIntersections(approximation).length) {
const selfIntersects = selfIntersections(approximation);
if (selfIntersects.length) {
return {
collapsed: true,
firstPoint: approximation.firstPoint,
Expand Down

0 comments on commit 99dd2a4

Please sign in to comment.