Skip to content

Commit

Permalink
After drawing the rectangle, you should re -select the first point
Browse files Browse the repository at this point in the history
  • Loading branch information
huangxiaobao-cxx authored and MattFerraro committed Jun 3, 2024
1 parent dfb3a69 commit 30f6edd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/web/src/components/tools/NewRectangle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
// }
log("setting rectangle", anchorPoint, point)
addRectangleBetweenPoints(sketchIndex, +anchorPoint.id!, +point.id!)
// anchorPoint = null
// Clear the anchor point and start the next rectangular drawing
anchorPoint = null
}
}
Expand Down

0 comments on commit 30f6edd

Please sign in to comment.