Week 9 - Grouping and Transforming Shapes#
What did you do this week?#
I started this week by creating a quick PR #645 for the UI sliders. The sliders raised ZeroDivsionError
when the min and max values were the same. To solve this, I handled the case where the value_range becomes zero and then manually set the handle position to zero.
Then I updated the implementation of the Grouping Shapes feature to support the translation and rotation of the shapes grouped together, as you can see below.
![https://user-images.githubusercontent.com/64432063/183248609-4281087c-c930-4141-907a-5a906732524a.gif](https://user-images.githubusercontent.com/64432063/183248609-4281087c-c930-4141-907a-5a906732524a.gif)
After this, I worked on the PolyLine and removed the extra point being added to the start of the PolyLine whenever a new instance was created.
![https://user-images.githubusercontent.com/64432063/183280803-5d7ae350-f080-478d-8a2f-a71460037ea4.gif](https://user-images.githubusercontent.com/64432063/183280803-5d7ae350-f080-478d-8a2f-a71460037ea4.gif)
Did you get stuck anywhere?#
No, everything went well.
What is coming up next?#
Completing the PR #623 and #653. Searching different approaches for implementing the freehand drawing.