Skip to content

Commit

Permalink
added segment
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanHojnoski committed Mar 4, 2024
1 parent abf94b8 commit e3846dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export enum Types {
RegularPolygon = "regularpolygon",
Riemannsum = "riemannsum",
Sector = "sector",
Segment = "segment",
Semicircle = "Semicircle",
Slider = "slider",
SlopeField = "slopefield",
Expand Down
1 change: 0 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ function checkFunction(item: any, createdElements: JSXElement[]): any {
}

if (createdElements[index].name == Types.Slider || createdElements[index].name == Types.Riemannsum || createdElements[index].name == Types.Integral) {
console.log(createdElements[index].name)
item = item.replace(re, "createdElements["+index+"].element.Value()");
}
else {
Expand Down

0 comments on commit e3846dd

Please sign in to comment.