Skip to content

Commit

Permalink
fix: convex
Browse files Browse the repository at this point in the history
  • Loading branch information
bernarduswillson committed Apr 5, 2024
1 parent 8fa95e9 commit ff9b852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/shapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ class Polygon extends Shape {
this.numOfVertex++;

// Ensure convexity
this.ensureConvex();
// this.ensureConvex();

// Update anchor, width, and height
this.updateAnchor();
Expand Down

0 comments on commit ff9b852

Please sign in to comment.