Skip to content

Commit

Permalink
Added missing params
Browse files Browse the repository at this point in the history
  • Loading branch information
amiika committed Dec 18, 2023
1 parent 7a5f15b commit caabfc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export type ShapeObject = {
curves: number,
stroke: string,
eaten: number,
hole: number,
}

export class UserAPI {
Expand Down Expand Up @@ -2540,6 +2541,10 @@ export class UserAPI {
y = slices.y || this.hc();
rotate = slices.rotate || 0;
radius = slices.radius || this.hc() / 3;
eaten = slices.eaten || 0;
hole = slices.hole || this.hc() / 12;
secondary = slices.secondary || "black";
stroke = slices.stroke || "black";
slices = slices.slices || 3;
}

Expand Down

0 comments on commit caabfc2

Please sign in to comment.